From e5c17faf94854573d758a10a39f690edfed3a0b7 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Fri, 25 Oct 2019 19:27:42 +0200 Subject: [PATCH 1/2] useless code --- htdocs/don/payment/payment.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/don/payment/payment.php b/htdocs/don/payment/payment.php index c7d83155d51..82a6651e6e7 100644 --- a/htdocs/don/payment/payment.php +++ b/htdocs/don/payment/payment.php @@ -276,12 +276,12 @@ if (GETPOST('action', 'aZ09') == 'create') print ""; print "\n"; - $total+=$objp->total; + /*$total+=$objp->total; $total_ttc+=$objp->total_ttc; - $totalrecu+=$objp->am; + $totalrecu+=$objp->am;*/ //Useless code ? $i++; } - if ($i > 1) + /*if ($i > 1) { // Print total print ''; @@ -291,7 +291,7 @@ if (GETPOST('action', 'aZ09') == 'create') print "".price($total_ttc - $totalrecu).""; print ' '; print "\n"; - } + }*/ //Useless code ? print ""; From ad608d0cb9506f9cf2d69e9e1c52604d29afe253 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 30 Oct 2019 03:07:02 +0100 Subject: [PATCH 2/2] Update payment.php --- htdocs/don/payment/payment.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/don/payment/payment.php b/htdocs/don/payment/payment.php index 82a6651e6e7..872466e2471 100644 --- a/htdocs/don/payment/payment.php +++ b/htdocs/don/payment/payment.php @@ -235,8 +235,9 @@ if (GETPOST('action', 'aZ09') == 'create') dol_fiche_end(); /* - * Autres charges impayees + * List of payments on donation */ + $num = 1; $i = 0;