From e52d97d82b0eb9a2ba7bda8f04603c8cf4adab94 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 15 Feb 2004 01:47:28 +0000 Subject: [PATCH] =?UTF-8?q?La=20zone=20fournisseur=20de=20la=20fiche=20pro?= =?UTF-8?q?duit=20est=20mal=20dimensionn=E9e=20si=20le=20produit=20est=20d?= =?UTF-8?q?e=20type=20service.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/product/fiche.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 165ac75731a..a9725fbdc89 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -182,6 +182,8 @@ if ($cancel == 'Annuler') */ if ($action == 'create') { + $nbligne=0; + print "
\n"; print "\n"; print ''."\n"; @@ -253,7 +255,7 @@ else print_fiche_titre('Fiche '.$types[$product->type].' : '.$product->ref, $mesg); - + print ''; print ""; print ''; @@ -270,7 +272,12 @@ else print ""; print ''; print ''; - print '
Référence'.$product->ref.'
Libellé$product->libelleStatistiques
Prix de vente'.price($product->price).''; + if ($product->type == 1) { + $nblignefour=4; + } else { + $nblignefour=3; + } + print ''; print 'Fournisseurs [Ajouter]'; $sql = "SELECT s.nom, s.idp";