240 |
|
|
241 |
// Client / Prospect |
// Client / Prospect |
242 |
print '<tr><td width="25%">'.$langs->trans('ProspectCustomer').'</td><td width="25%"><select class="flat" name="client">'; |
print '<tr><td width="25%">'.$langs->trans('ProspectCustomer').'</td><td width="25%"><select class="flat" name="client">'; |
243 |
print '<option value="2"'.($soc->client==2?' selected':'').'>'.$langs->trans('Prospect').'</option>'; |
print '<option value="2"'.($soc->client==2?' selected="true"':'').'>'.$langs->trans('Prospect').'</option>'; |
244 |
print '<option value="1"'.($soc->client==1?' selected':'').'>'.$langs->trans('Customer').'</option>'; |
print '<option value="1"'.($soc->client==1?' selected="true"':'').'>'.$langs->trans('Customer').'</option>'; |
245 |
print '<option value="0"'.($soc->client==0?' selected':'').'>Ni client, ni prospect</option>'; |
print '<option value="0"'.($soc->client==0?' selected="true"':'').'>Ni client, ni prospect</option>'; |
246 |
print '</select></td>'; |
print '</select></td>'; |
247 |
print '<td width="25%">'.$langs->trans('CustomerCode').'</td><td width="25%">'; |
print '<td width="25%">'.$langs->trans('CustomerCode').'</td><td width="25%">'; |
248 |
print '<input type="text" name="code_client" size="16" value="'.$soc->code_client.'" maxlength="15">'; |
print '<input type="text" name="code_client" size="16" value="'.$soc->code_client.'" maxlength="15">'; |
459 |
|
|
460 |
// Client / Prospect |
// Client / Prospect |
461 |
print '<tr><td width="25%">'.$langs->trans('ProspectCustomer').'</td><td width="25%"><select class="flat" name="client">'; |
print '<tr><td width="25%">'.$langs->trans('ProspectCustomer').'</td><td width="25%"><select class="flat" name="client">'; |
462 |
print '<option value="2"'.($soc->client==2?' selected':'').'>'.$langs->trans('Prospect').'</option>'; |
print '<option value="2"'.($soc->client==2?' selected="true"':'').'>'.$langs->trans('Prospect').'</option>'; |
463 |
print '<option value="1"'.($soc->client==1?' selected':'').'>'.$langs->trans('Customer').'</option>'; |
print '<option value="1"'.($soc->client==1?' selected="true"':'').'>'.$langs->trans('Customer').'</option>'; |
464 |
print '<option value="0"'.($soc->client==0?' selected':'').'>Ni client, ni prospect</option>'; |
print '<option value="0"'.($soc->client==0?' selected="true"':'').'>Ni client, ni prospect</option>'; |
465 |
print '</select></td>'; |
print '</select></td>'; |
466 |
print '<td width="25%">'.$langs->trans('CustomerCode').'</td><td width="25%">'; |
print '<td width="25%">'.$langs->trans('CustomerCode').'</td><td width="25%">'; |
467 |
if ($soc->codeclient_modifiable == 1) |
if ($soc->codeclient_modifiable == 1) |