tidy up for showing a complete transaction

This commit is contained in:
2016-04-07 17:05:49 +01:00
parent e386754095
commit b67436c465
3 changed files with 35 additions and 16 deletions

View File

@ -0,0 +1,30 @@
<?php print theme( 'fulcrm_shoppingcart_transaction_mailshots', array( 'transaction' => $transaction ) ); ?>
<table class="table">
<caption>Your order</caption>
<thead>
<tr>
<th>Item</th>
<th>Price</th>
<th>Quantity</th>
<th>Total</th>
</tr>
</thead>
<tbody>
<?php print theme( 'fulcrm_shoppingcart_transaction_items', array( 'items' => $transaction[ 'lineitems' ] ) ); ?>
</tbody>
<tfoot>
<tr>
<th colspan="3">
Total
</th>
<th>
<?php print $transaction[ '_price' ][ 'format_total' ]; ?>
</th>
</tr>
</tfoot>
</table>