26 lines
796 B
PHP
26 lines
796 B
PHP
<table>
|
|
<!-- @todo This rounding should be a global configuration item -->
|
|
<tr>
|
|
<td><?php echo Country::icon($country); ?></td>
|
|
<td>Cart Sub-Total:</td>
|
|
<td><?php echo Currency::display($cart->subtotal()); ?></td>
|
|
</tr>
|
|
<?php if ($cart->tax()) { ?>
|
|
<?php foreach ($cart->tax() as $tax) { ?>
|
|
<!-- @todo This rounding should be a global configuration item -->
|
|
<!-- @todo Tax details should come from central configuration -->
|
|
<tr>
|
|
<td> </td>
|
|
<td>Tax (<?php echo $tax['description']; ?>):</td>
|
|
<td><?php echo Currency::display($tax['amount']); ?></td>
|
|
</tr>
|
|
<?php } ?>
|
|
<?php } ?>
|
|
<!-- @todo This rounding should be a global configuration item -->
|
|
<tr>
|
|
<td> </td>
|
|
<td>Cart Total:</td>
|
|
<td><?php echo Currency::display($cart->total()); ?></td>
|
|
</tr>
|
|
</table>
|