start to show mailshots related to transaction
parent
285672453a
commit
e386754095
@ -0,0 +1,11 @@
|
||||
<li class="list-group-item"><?php print check_plain( $mailshot['campaign']['name'] ); ?>
|
||||
<small><?php
|
||||
$tz = new DateTimeZone('UTC');
|
||||
$completed = DateTime::createFromFormat('Y-m-d\TH:i:s.u\Z',$mailshot['completed'],$timezone=$tz);
|
||||
if ( $completed )
|
||||
print $completed->format( '\s\e\n\t \o\n j/M/Y \a\t ga' );
|
||||
?></small>
|
||||
<?php foreach ( $mailshot['_view_urls']['text/html'] as $k => $v ): ?>
|
||||
<a href="<?php print check_plain($v); ?>" target="_blank">view</a>
|
||||
<?php endforeach; ?>
|
||||
</li>
|
@ -0,0 +1,8 @@
|
||||
<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>
|
Loading…
Reference in New Issue