From c3b25e5d80aa16948f8038ee4122ed360130415d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 24 May 2007 00:41:17 +0000 Subject: [PATCH] Ajout motif abandon sur aide --- htdocs/compta/facture.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 4d3843cc1f4..a905c3b215d 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2033,7 +2033,9 @@ else if (($fac->statut == 2 || $fac->statut == 3) && $fac->close_code == 'abandon') { print ''; - print $html->textwithhelp($langs->trans("Abandoned").':',$langs->trans("HelpAbandonOther"),-1); + $text=$langs->trans("HelpAbandonOther"); + if ($fac->close_note) $text.='

'.$langs->trans("Reason").':'.$fac->close_note; + print $html->textwithhelp($langs->trans("Abandoned").':',$text,-1); print ''.price($fac->total_ttc - $totalpaye).''.$langs->trans('Currency'.$conf->monnaie).''; $resteapayeraffiche=0; }