From a147798f18f13d85d86bc11d801e8140317968bc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 27 Jul 2016 14:15:14 +0200 Subject: [PATCH] FIX Select new thirdparty --- htdocs/commande/card.php | 2 +- htdocs/contrat/card.php | 2 +- htdocs/fichinter/card.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index d91ee35fe3e..81f101359f8 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -1472,7 +1472,7 @@ if ($action == 'create' && $user->rights->commande->creer) print ''; } else { print ''; - print $form->select_company('', 'socid', 's.client = 1 OR s.client = 3', 1); + print $form->select_company('', 'socid', 's.client = 1 OR s.client = 3', 'SelectThirdParty'); // reload page to retrieve customer informations if (!empty($conf->global->RELOAD_PAGE_ON_CUSTOMER_CHANGE)) { diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php index 49f8130c5b4..5a9c8a267ea 100644 --- a/htdocs/contrat/card.php +++ b/htdocs/contrat/card.php @@ -1117,7 +1117,7 @@ if ($action == 'create') else { print ''; - print $form->select_company('','socid','',1,1); + print $form->select_company('','socid','','SelectThirdParty',1); print ''; } print ''."\n"; diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index 934d19fb320..7472906dc58 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -1060,7 +1060,7 @@ if ($action == 'create') print '
'; print ''; print ''; print '
'.$langs->trans("ThirdParty").''; - print $form->select_company('','socid','',1,1); + print $form->select_company('','socid','','SelectThirdParty',1); print '
';