Selaa lähdekoodia

FIX Select new thirdparty

Laurent Destailleur 9 vuotta sitten
vanhempi
commit
a147798f18
3 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1 1
      htdocs/commande/card.php
  2. 1 1
      htdocs/contrat/card.php
  3. 1 1
      htdocs/fichinter/card.php

+ 1 - 1
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))
 		{

+ 1 - 1
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";

+ 1 - 1
htdocs/fichinter/card.php

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