From c6e91b2fcf3f3c5da21d2635a1fdacd8fc8a58e8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 22 Feb 2004 20:50:22 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20d'un=20test=20sur=20la=20pr=E9sence=20d?= =?UTF-8?q?e=20compte.=20En=20cas=20d'absence,=20plutot=20que=20de=20propo?= =?UTF-8?q?ser=20une=20liste=20vide,=20le=20texte=20"Aucun=20compte=20banc?= =?UTF-8?q?aire=20encore=20cr=E9=E9"=20est=20affich=E9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/facture.php | 74 +++++++++++++++++++++++----------------- 1 file changed, 43 insertions(+), 31 deletions(-) diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php index a8cff6a521f..c1ca6c96398 100644 --- a/htdocs/admin/facture.php +++ b/htdocs/admin/facture.php @@ -185,59 +185,71 @@ print ''; print "\n"; print ''; print "Proposer paiement par RIB sur le compte"; -print ""; + print ''; + while ($i < $num) + { + $var=!$var; + $row = $db->fetch_row($i); + + if ($facture_rib_number_var == $row[0]) + { + print ''; + } + else + { + print ''; + } + $i++; + } + print ""; + } else { + print "Aucun compte bancaire encore créé"; } - else - { - print ''; - } - $i++; - } } -print ""; +print ""; print ''; print "Proposer paiement par chèque à l'ordre et adresse du titulaire du compte"; -print ""; + print ''; + while ($i < $num) + { + $var=!$var; + $row = $db->fetch_row($i); + + if ($facture_chq_number_var == $row[0]) { print ''; } - else + else { print ''; } - $i++; - } + $i++; + } + print ""; + } else { + print "Aucun compte bancaire actif encore créé"; + } } -print ""; +print ""; print ""; print "";