remove useless parameters

This commit is contained in:
florian HENRY 2019-02-06 10:58:40 +01:00
parent 813a7a0085
commit 3f6187fe12

View File

@ -1185,7 +1185,7 @@ else
print '<tr><td class="titlefieldcreate">'.$form->editfieldkey('ProspectCustomer', 'customerprospect', '', $object, 0, 'string', '', 1).'</td>'; print '<tr><td class="titlefieldcreate">'.$form->editfieldkey('ProspectCustomer', 'customerprospect', '', $object, 0, 'string', '', 1).'</td>';
print '<td class="maxwidthonsmartphone">'; print '<td class="maxwidthonsmartphone">';
$selected=GETPOST('client', 'int')!=''?GETPOST('client', 'int'):$object->client; $selected=GETPOST('client', 'int')!=''?GETPOST('client', 'int'):$object->client;
print $formcompany->selectProspectCustomerType($selected,'client'); print $formcompany->selectProspectCustomerType($selected);
print '</td>'; print '</td>';
print '<td>'.$form->editfieldkey('CustomerCode', 'customer_code', '', $object, 0).'</td><td>'; print '<td>'.$form->editfieldkey('CustomerCode', 'customer_code', '', $object, 0).'</td><td>';
@ -1772,7 +1772,7 @@ else
// Prospect/Customer // Prospect/Customer
print '<tr><td>'.$form->editfieldkey('ProspectCustomer', 'customerprospect', '', $object, 0, 'string', '', 1).'</td>'; print '<tr><td>'.$form->editfieldkey('ProspectCustomer', 'customerprospect', '', $object, 0, 'string', '', 1).'</td>';
print '<td class="maxwidthonsmartphone">'; print '<td class="maxwidthonsmartphone">';
print $formcompany->selectProspectCustomerType($object->client,'client'); print $formcompany->selectProspectCustomerType($object->client);
print '</td>'; print '</td>';
print '<td>'.$form->editfieldkey('CustomerCode', 'customer_code', '', $object, 0).'</td><td>'; print '<td>'.$form->editfieldkey('CustomerCode', 'customer_code', '', $object, 0).'</td><td>';