show PaymentItems
This commit is contained in:
@ -15,17 +15,19 @@
|
||||
</tbody>
|
||||
|
||||
<tfoot>
|
||||
<?php foreach ( $transaction[ 'paymentitems' ] as $paymentitem ) { if ( !$paymentitem[ 'fee' ] ) { print theme( 'fulcrm_shoppingcart_transaction_payment', array( 'item' => $paymentitem ) ); } } ?>
|
||||
|
||||
<tr>
|
||||
<th colspan="3">
|
||||
Total
|
||||
</th>
|
||||
<th class="text-right">
|
||||
<?php $any = false; ?>
|
||||
<?php if ( count( $transaction[ '_price' ][ 'total' ] ) ): ?>
|
||||
<?php foreach ( $transaction[ '_price' ][ 'total' ] as $currency => $price ): ?>
|
||||
<?php if ( $price[ 'gross' ] ): ?>
|
||||
<?php if ( count( $transaction[ '_price' ][ 'outstanding' ] ) ): ?>
|
||||
<?php foreach ( $transaction[ '_price' ][ 'outstanding' ] as $currency => $price ): ?>
|
||||
<?php if ( $price[ 'balance' ] > 0 ): ?>
|
||||
<?php $any = true; ?>
|
||||
<div><?php print $currency . ' ' . $price[ 'format_gross' ]; ?></div>
|
||||
<div><?php print $currency . ' ' . $price[ 'format_balance' ]; ?></div>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
|
Reference in New Issue
Block a user