diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 43148045e81..961ae40c5f5 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -2755,7 +2755,7 @@ class Form * Show a form to select a project * * @param int $page Page - * @param int $socid Id third party + * @param int $socid Id third party (-1=all, 0=only projects not linked to a third party, id=projects not linked or linked to third party id) * @param int $selected Id pre-selected project * @param string $htmlname Name of select field * @return void diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index f8b991969e1..086d44254c8 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -1287,18 +1287,8 @@ if ($action == 'create') $form->select_types_paiements(isset($_POST['mode_reglement_id'])?$_POST['mode_reglement_id']:$mode_reglement_id,'mode_reglement_id'); print ''; - // Project - if (! empty($conf->projet->enabled)) - { - $formproject=new FormProjets($db); - - $langs->load('projects'); - print '