tidy up for showing a complete transaction
This commit is contained in:
30
fulcrm_shoppingcart_transaction_complete.tpl.php
Normal file
30
fulcrm_shoppingcart_transaction_complete.tpl.php
Normal 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>
|
Reference in New Issue
Block a user