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').'';