From 5d56faf4a4c647b3b373859683ac03265e998872 Mon Sep 17 00:00:00 2001
From: Marek Isalski
Date: Sun, 17 Apr 2016 13:14:33 +0100
Subject: [PATCH] show pending where pending
---
fulcrm_shoppingcart_transaction_complete.tpl.php | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/fulcrm_shoppingcart_transaction_complete.tpl.php b/fulcrm_shoppingcart_transaction_complete.tpl.php
index 83f8b94..d7ac82c 100644
--- a/fulcrm_shoppingcart_transaction_complete.tpl.php
+++ b/fulcrm_shoppingcart_transaction_complete.tpl.php
@@ -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 'pending';
?>
Completed: format( 'j/M/Y \@ g:ia' );
+ else
+ print 'pending';
?>
Invoice Sent: format( 'j/M/Y \@ g:ia' );
+ else
+ print 'pending';
?>