From 043dba868c1de223e3190d451df0fc8e1cd7a71b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 24 Jun 2003 20:53:03 +0000 Subject: [PATCH] Bug fixes and code cleaning --- htdocs/compta/facture.php3 | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/htdocs/compta/facture.php3 b/htdocs/compta/facture.php3 index d6e0cfbdfc5..9f24be44e27 100644 --- a/htdocs/compta/facture.php3 +++ b/htdocs/compta/facture.php3 @@ -143,6 +143,7 @@ if ($action == 'add') $facture->number = $facnumber; $facture->date = $datefacture; $facture->note = $note; + $facture->projetid = $HTTP_POST_VARS["projetid"]; $facture->amount = $amount; $facture->remise = $remise; $facture->propalid = $propalid; @@ -732,12 +733,21 @@ else if ($num) { $i = 0; $total = 0; - print "

Proposition(s) commerciale(s) associée(s)"; + print "

"; + if ($num >1) + { + print_titre("Propositions commerciales associées"); + } + else + { + print_titre("Proposition commerciale associée"); + } + print ''; - print ""; - print ""; + print ''; + print ""; print ""; - print ""; + print ''; print "\n"; $var=True;
Num
NuméroDatePrixPrix