From 9359bfe2b6dca2d50883f383ba4cdd9411c7596b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 24 Nov 2004 11:16:40 +0000 Subject: [PATCH] =?UTF-8?q?Debuggage=20probl=E8me=20fournisseur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/soc.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/htdocs/soc.php b/htdocs/soc.php index a95143f40cc..dd8db6652e3 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -115,7 +115,7 @@ if ($_GET["action"] == 'create') /* * Fiche societe en mode création */ - + $soc->fournisseur=0; if ($_GET["type"]=='f') { $soc->fournisseur=1; } if ($_GET["type"]=='c') { $soc->client=1; } if ($_GET["type"]=='p') { $soc->client=2; } @@ -126,7 +126,6 @@ if ($_GET["action"] == 'create') print $mesg; print '
'; print ''; - print ''; print ''; print ''; @@ -154,7 +153,7 @@ if ($_GET["action"] == 'create') print ''; print ''; print ''."\n"; print ''."\n"; print ''."\n";
'.$langs->trans('Name').'
Capital '.MAIN_MONNAIE.'
Forme juridique'; - $form->select_forme_juridique($soc->forme_juridique_code); + $form->select_forme_juridique($soc->forme_juridique_code); print '
Effectif'; @@ -175,7 +174,7 @@ if ($_GET["action"] == 'create') print ''.$langs->trans('Supplier').''."\n"; - $form->selectyesnonum("fournisseur",0); + $form->selectyesnonum("fournisseur",$soc->fournisseur); print '