|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
<?php print theme( 'fulcrm_shoppingcart_transaction_mailshots', array( 'transaction' => $transaction ) ); ?>
|
|
|
|
|
<div class="col col-xs-12 col-sm-12 col-md-8 col-lg-8">
|
|
|
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
|
<caption>Your order</caption>
|
|
|
|
|
<caption><?php print check_plain( $transaction[ 'name' ] ); ?></caption>
|
|
|
|
|
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
@ -33,3 +33,31 @@
|
|
|
|
|
</tr>
|
|
|
|
|
</tfoot>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col col-xs-12 col-sm-12 col-md-4 col-lg-4">
|
|
|
|
|
<div class="panel panel-info">
|
|
|
|
|
<div class="panel-heading"><h3 class="panel-title">Information</h3></div>
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
<p><strong>Ordered:</strong> <?php
|
|
|
|
|
$tz = new DateTimeZone('UTC');
|
|
|
|
|
$created = DateTime::createFromFormat('Y-m-d\TH:i:s.u\Z',$transaction['created'],$timezone=$tz);
|
|
|
|
|
if ( $created )
|
|
|
|
|
print $created->format( 'j/M/Y \@ g:ia' );
|
|
|
|
|
?></p>
|
|
|
|
|
<p><strong>Completed:</strong> <?php
|
|
|
|
|
$tz = new DateTimeZone('UTC');
|
|
|
|
|
$completed = DateTime::createFromFormat('Y-m-d\TH:i:s.u\Z',$transaction['completed'],$timezone=$tz);
|
|
|
|
|
if ( $completed )
|
|
|
|
|
print $completed->format( 'j/M/Y \@ g:ia' );
|
|
|
|
|
?></p>
|
|
|
|
|
<p><strong>Invoice Sent:</strong> <?php
|
|
|
|
|
$tz = new DateTimeZone('UTC');
|
|
|
|
|
$sent = DateTime::createFromFormat('Y-m-d\TH:i:s.u\Z',$transaction['sent'],$timezone=$tz);
|
|
|
|
|
if ( $sent )
|
|
|
|
|
print $sent->format( 'j/M/Y \@ g:ia' );
|
|
|
|
|
?></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<?php print theme( 'fulcrm_shoppingcart_transaction_mailshots', array( 'transaction' => $transaction ) ); ?>
|
|
|
|
|
</div>
|
|
|
|
|