neaten up templates

This commit is contained in:
2016-04-08 11:04:28 +01:00
parent d0b137ca59
commit 05d1ee9667
3 changed files with 28 additions and 18 deletions

View File

@ -11,10 +11,9 @@
<th>Total</th>
</tr>
</thead>
<tbody>
<?php print theme( 'fulcrm_shoppingcart_transaction_items', array( 'items' => $transaction[ 'lineitems' ] ) ); ?>
<?php if ( array_key_exists( 'lineitems', $transaction ) ) { print theme( 'fulcrm_shoppingcart_transaction_items', array( 'items' => $transaction[ 'lineitems' ] ) ); } ?>
</tbody>
<tfoot>