From a5cbef7aec3f4f80a77baeb5b71ecbffea55d6ff Mon Sep 17 00:00:00 2001 From: florian HENRY Date: Mon, 21 Jan 2019 11:51:54 +0100 Subject: [PATCH] new show in blod invoice amount where we came from for payment --- htdocs/compta/paiement.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 51435433aa4..bca1fa8f835 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -622,15 +622,16 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie $multicurrency_remaintopay=price2num($invoice->multicurrency_total_ttc - $multicurrency_payment - $multicurrency_creditnotes - $multicurrency_deposits,'MT'); } - print ''; - print ''; + print ''; + + print ''; print $invoice->getNomUrl(1,''); if($objp->socid != $facture->thirdparty->id) print ' - '.$soc->getNomUrl(1).' '; print "\n"; // Date - print ''.dol_print_date($db->jdate($objp->df),'day')."\n"; + print ''.dol_print_date($db->jdate($objp->df),'day')."\n"; // Date Max Payment if ($objp->dlr > 0 ) @@ -700,7 +701,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie } // Price - print ''.price($sign * $objp->total_ttc).''; + print 'id==$facid)?' style="font-weight: bold" ':'').'>'.price($sign * $objp->total_ttc).''; // Received or paid back print ''.price($sign * $paiement);