<div class="panel panel-primary"> <div class="panel-heading"><h3 class="panel-title">Emails about your transaction</h3></div> <ul class="list-group"> <?php foreach ( $transaction[ 'mailshots' ] as $mailshot ): ?> <?php print theme( 'fulcrm_shoppingcart_transaction_mailshot', array( 'mailshot' => $mailshot ) ); ?> <?php endforeach; ?> </ul> </div>