From 52c0678de4e77ee50b1909044c1301cd75447321 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 4 May 2011 12:24:59 +0000 Subject: [PATCH] Fix: better look --- htdocs/paypal/transaction.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/htdocs/paypal/transaction.php b/htdocs/paypal/transaction.php index f932adcc780..cd869d213d6 100644 --- a/htdocs/paypal/transaction.php +++ b/htdocs/paypal/transaction.php @@ -152,7 +152,7 @@ print $langs->trans('TransactionID').': '; print ' '; print ''; -print ''; +print ''; print ''; print ''; @@ -169,10 +169,12 @@ print_liste_field_titre($langs->trans('GrossAmount'),$_SERVER['PHP_SELF'],'','', print_liste_field_titre($langs->trans('FeeAmount'),$_SERVER['PHP_SELF'],'','','&socid='.$socid.'&viewstatut='.$viewstatut, 'align="right"',$sortfield,$sortorder); print_liste_field_titre($langs->trans('NetAmount'),$_SERVER['PHP_SELF'],'','','&socid='.$socid.'&viewstatut='.$viewstatut, 'align="right"',$sortfield,$sortorder); print ''; + +$var=true; if(! isset($resArray["L_TRANSACTIONID0"])) { - print ''; + print ''; print ''.$langs->trans("NoTransactionSelected").''; print ''; } @@ -182,6 +184,8 @@ else while (isset($resArray["L_TRANSACTIONID".$i])) { + $var=!$var; + $transactionID = $resArray["L_TRANSACTIONID".$i]; $timeStamp = dol_stringtotime($resArray["L_TIMESTAMP".$i]); $payerName = $resArray["L_NAME".$i]; @@ -191,7 +195,7 @@ else $currency = $resArray["L_CURRENCYCODE".$i]; $status = $resArray["L_STATUS".$i]; - print ''; + print ''; print ''.$transactionID.''; print ''.dol_print_date($timeStamp,'dayhour').''; print ''.$status.'';