tidy up for showing a complete transaction
parent
e386754095
commit
b67436c465
@ -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>
|
Loading…
Reference in New Issue