|
|
|
@ -44,18 +44,24 @@
|
|
|
|
|
$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' );
|
|
|
|
|
else
|
|
|
|
|
print '<em>pending</em>';
|
|
|
|
|
?></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' );
|
|
|
|
|
else
|
|
|
|
|
print '<em>pending</em>';
|
|
|
|
|
?></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' );
|
|
|
|
|
else
|
|
|
|
|
print '<em>pending</em>';
|
|
|
|
|
?></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|