@ -22,11 +22,16 @@
Total
</th>
<th class="text-right">
<?php $any = false; ?>
<?php if ( count( $transaction[ '_price' ][ 'total' ] ) ): ?>
<?php foreach ( $transaction[ '_price' ][ 'total' ] as $currency => $price ): ?>
<div><?php print $price[ 'format_total' ]; ?></div>
<?php if ( $price[ 'gross' ] ): ?>
<?php $any = true; ?>
<div><?php print $price[ 'format_gross' ]; ?></div>
<?php endif; ?>
<?php endforeach; ?>
<?php else: ?>
<?php if ( !$any ): ?>
<em>free</em>