From 856b1e7f40470a3a16b75da4d3c3a95d3a6f371e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 15 Sep 2018 23:58:02 +0200 Subject: [PATCH] Fix phpcs --- htdocs/stripe/transaction.php | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/htdocs/stripe/transaction.php b/htdocs/stripe/transaction.php index d548e10e257..95ab57b56f7 100644 --- a/htdocs/stripe/transaction.php +++ b/htdocs/stripe/transaction.php @@ -198,14 +198,18 @@ if (! $rowid) { print "" . price(($txn->fee) / 100, 0, '', 1, - 1, - 1, strtoupper($txn->currency)) . ""; // Status print ""; - if ($txn->status=='available') - { - print img_picto($langs->trans("".$txn->status.""),'statut4');} -elseif ($txn->status=='pending') - {print img_picto($langs->trans("".$txn->status.""),'statut7');} -elseif ($txn->status=='failed') - { - print img_picto($langs->trans("".$txn->status.""),'statut8');} + if ($txn->status=='available') + { + print img_picto($langs->trans("".$txn->status),'statut4'); + } + elseif ($txn->status=='pending') + { + print img_picto($langs->trans("".$txn->status),'statut7'); + } + elseif ($txn->status=='failed') + { + print img_picto($langs->trans("".$txn->status),'statut8'); + } print ''; print "\n"; }