From fbeacbaf4ffba7987c1b0739897fd0c4ebad9ed6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 5 Aug 2004 02:20:03 +0000 Subject: [PATCH] =?UTF-8?q?Opti:=20Suppression=20fonction=20en=20double=20?= =?UTF-8?q?pour=20utilisation=20fonction=20g=E9n=E9rique=20selectyesnonum.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/soc.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/htdocs/soc.php b/htdocs/soc.php index 67a1f2d198c..7859f3050d4 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -151,9 +151,9 @@ if ($_GET["action"] == 'create') print ''; print ''; - print ''.$langs->trans('Supplier').''; + print ''.$langs->trans('Supplier').''; + print $form->selectyesnonum("fournisseur",$soc->fournisseur); + print ''; print ''; print ''; @@ -231,10 +231,8 @@ elseif ($_GET["action"] == 'edit') print ''; print ''; - print 'Fournisseur'; - + print ''.$langs->trans('Supplier').''; + print $form->selectyesnonum("fournisseur",$soc->fournisseur); print ''; print '';