<nobr><small>&nbsp;<i> - ' . $products_attribute['option'] . COLON_BLANK . $products_attribute['value'] . '
							</i></small>
						</td>
						<td class="main" align="right" valign="top"><i><small>' . $products_attribute_price_single . '							</i></small></nobr>
						</td>
						<td class="main" align="right" valign="top"><i><small>' . $products_attribute_price_single . '							</i></small></nobr>
						</td>
					</tr>
';
        }
    }
    if ($_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 1) {
        if (sizeof($order->info['tax_groups']) > 1) {
            $data_products .= '
         	<tr>
             <td colspan="3" class="main" valign="top" align="right">' . olc_display_tax_value($order_products['tax']) . '%
						</td>
				 </tr>
';
        }
    }
}
$payment_method = $order->info['payment_method'];
if ($payment_method) {
    if ($payment_method != 'no_payment') {
        include DIR_WS_LANGUAGES . SLASH . SESSION_LANGUAGE . '/modules/payment/' . $payment_method . PHP;
        //---PayPal WPP Modification START ---//
        if ($use_ec_checkout) {
            $module_payment_title = MODULE_PAYMENT_PAYPAL_EC_TEXT_TITLE;
        } else {
            $module_payment_title = constant('MODULE_PAYMENT_' . strtoupper($payment_method) . '_TEXT_TITLE');
    }
    ?>
                <td class="dataTableContent"><?php 
    echo $rates['tax_priority'];
    ?>
</td>
                <td class="dataTableContent"><?php 
    echo $rates['tax_class_title'];
    ?>
</td>
                <td class="dataTableContent"><?php 
    echo $rates['geo_zone_name'];
    ?>
</td>
                <td class="dataTableContent"><?php 
    echo olc_display_tax_value($rates['tax_rate']);
    ?>
%</td>
                <td class="dataTableContent" align="right"><?php 
    if (is_object($trInfo) && $rates['tax_rates_id'] == $trInfo->tax_rates_id) {
        echo olc_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', '');
    } else {
        echo HTML_A_START . olc_href_link(FILENAME_TAX_RATES, 'page=' . $_GET['page'] . '&tID=' . $rates['tax_rates_id']) . '">' . olc_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . HTML_A_END;
    }
    ?>
&nbsp;</td>
              </tr>
<?php 
}
?>
              <tr>
Exemplo n.º 3
0
                $attribute_text = '<br/><nobr><small>&nbsp;<i> - ' . $current_product_attribute['option'] . ': ' . $current_product_attribute['value'];
                $attribute_price = $current_product_attribute['price'];
                if ((int) $attribute_price) {
                    $current_product_qty = $current_product['qty'];
                    if ($current_product_allow_tax) {
                        $attribute_price = olc_add_tax($attribute_price * $current_product_qty, $current_product['tax']);
                    }
                    $attribute_text .= LPAREN . $current_product_attribute['prefix'] . $currencies->format($attribute_price * $current_product_qty, true, $order_currency, $order_currency_value) . RPAREN;
                }
                echo $attribute_text .= '</i></small></nobr>';
            }
        }
        echo '            </td>' . NEW_LINE . '            <td class="dataTableContent" valign="top">' . $current_product['model'] . '</td>' . NEW_LINE . '            <td class="dataTableContent" align="right" valign="top">' . format_price($current_product['final_price'] / $current_product['qty'], 1, $order_currency, $current_product_allow_tax, $current_product['tax']) . '</td>' . NEW_LINE;
        if ($current_product_allow_tax) {
            echo '<td class="dataTableContent" align="right" valign="top">';
            echo olc_display_tax_value($current_product['tax']) . '%';
            echo '</td>' . NEW_LINE;
            echo '<td class="dataTableContent" align="right" valign="top"><b>';
            echo format_price($current_product['final_price'] / $current_product['qty'], 1, $order_currency, 0, 0);
            echo '</b></td>' . NEW_LINE;
        }
        echo '            <td class="dataTableContent" align="right" valign="top"><b>' . format_price($current_product['final_price'], 1, $order_currency, 0, 0) . '</b></td>' . NEW_LINE;
        echo '          </tr>' . NEW_LINE;
    }
    ?>
          <tr>
            <td align="right" colspan="10"><table border="0" cellspacing="0" cellpadding="2">
<?php 
    for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
        echo '              <tr>' . NEW_LINE . '                <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . NEW_LINE . '                <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . NEW_LINE . '              </tr>' . NEW_LINE;
    }