From 742f1cb8afc7bf750e3087f2afbd8fae5dd640d0 Mon Sep 17 00:00:00 2001 From: ATM-Nicolas Date: Fri, 22 Mar 2019 10:55:49 +0100 Subject: [PATCH] FIX : Show only suppliers --- htdocs/fourn/commande/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php index 904e9b481df..795fd8057d6 100644 --- a/htdocs/fourn/commande/card.php +++ b/htdocs/fourn/commande/card.php @@ -1895,7 +1895,7 @@ elseif (! empty($object->id)) $morehtmlref .= '
'; $morehtmlref .= ''; $morehtmlref .= ''; - $morehtmlref .= $form->select_company($object->thirdparty->id, 'new_socid', '', '', 0, 0, array(), 0, 'minwidth300'); + $morehtmlref .= $form->select_company($object->thirdparty->id, 'new_socid', 's.fournisseur = 1', '', 0, 0, array(), 0, 'minwidth300'); $morehtmlref .= ''; $morehtmlref .= '
'; }