From e4f51b7f32781c614454b719fc03159f8db63051 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> 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 '</td>'; } else { print '<td colspan="2">'; - 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 '<td colspan="2">'; - print $form->select_company('','socid','',1,1); + print $form->select_company('','socid','','SelectThirdParty',1); print '</td>'; } print '</tr>'."\n"; diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index 2a4ec4337f2..3f266f71de4 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -1046,7 +1046,7 @@ if ($action == 'create') print '<form name="fichinter" action="'.$_SERVER['PHP_SELF'].'" method="POST">'; print '<table class="border" width="100%">'; print '<tr><td class="fieldrequired">'.$langs->trans("ThirdParty").'</td><td>'; - print $form->select_company('','socid','',1,1); + print $form->select_company('','socid','','SelectThirdParty',1); print '</td></tr>'; print '</table>'; -- GitLab