Пример #1
0
                echo tsmText::_('COM_VIRTUEMART_TOTAL_INCL_TAX');
                ?>
</td>

				<?php 
                if (tsmConfig::get('show_tax')) {
                    ?>
					<td ></td>
				<?php 
                }
                ?>
				<td></td>
				</tr><?php 
            }
            foreach ($this->cart->cartData['VatTax'] as $vatTax) {
                if (!empty($vatTax['result'])) {
                    echo '<tr class="sectiontableentry' . $i . '">';
                    echo '<td colspan="4" align="right">' . shopFunctionsF::getTaxNameWithValue($vatTax['calc_name'], $vatTax['calc_value']) . '</td>';
                    echo '<td align="right"><span class="priceColor2">' . $this->currencyDisplay->createPriceDiv('taxAmount', '', $vatTax['result'], FALSE, false, 1.0, false, true) . '</span></td>';
                    echo '<td></td><td></td>';
                    echo '</tr>';
                }
            }
        }
    }
}
?>

</table>
</fieldset>
Пример #2
0
?>
		<td align="right" width="6%"><strong><?php 
echo vmText::_('COM_VIRTUEMART_ORDER_PRINT_QTY');
?>
</strong></td>
		<?php 
if ($this->doctype == 'invoice') {
    ?>
		<?php 
    if (VmConfig::get('show_tax')) {
        ?>
		<td align="right" width="10%" ><strong><?php 
        if (count($taxBill) == 1) {
            reset($taxBill);
            $t = current($taxBill);
            echo shopFunctionsF::getTaxNameWithValue($t->calc_rule_name, $t->calc_value);
        } else {
            echo vmText::_('COM_VIRTUEMART_ORDER_PRINT_PRODUCT_TAX');
        }
        ?>
</strong></td>
		  <?php 
    }
    ?>
		<td align="right" width="11%"><strong><?php 
    echo vmText::_('COM_VIRTUEMART_ORDER_PRINT_SUBTOTAL_DISCOUNT_AMOUNT');
    ?>
</strong></td>
		<td align="right" width="11%"><strong><?php 
    echo vmText::_('COM_VIRTUEMART_ORDER_PRINT_TOTAL');
    ?>