From f0e69510d5d6ac45339b36a41539655830dcd2b2 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 10 Dec 2006 13:22:51 +0000 Subject: [PATCH] Edition de la categorie --- htdocs/soc.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/htdocs/soc.php b/htdocs/soc.php index 8cee95da1d8..c474331e586 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -555,6 +555,21 @@ elseif ($_GET["action"] == 'edit' || $_POST["action"] == 'edit') } print ''; + if ($soc->fournisseur) + { + $load = $soc->LoadSupplierCateg(); + if ( $load == 0) + { + if (sizeof($soc->SupplierCategories) > 0) + { + print ''; + print ''.$langs->trans('SupplierCategory').''; + $form->select_array("fournisseur_categorie",$soc->SupplierCategories); + print ''; + } + } + } + print ''.$langs->trans('Address').'';