FIX Select new thirdparty

This commit is contained in:
Laurent Destailleur 2016-07-27 14:15:14 +02:00
parent e65a8400e3
commit a147798f18
3 changed files with 3 additions and 3 deletions

View File

@ -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))
{

View File

@ -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";

View File

@ -1060,7 +1060,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>';