Fix another field not responsive
This commit is contained in:
parent
c4ae712bac
commit
45fceaeea5
@ -1535,7 +1535,7 @@ else
|
|||||||
|
|
||||||
// Prospect/Customer
|
// Prospect/Customer
|
||||||
print '<tr><td>'.fieldLabel('ProspectCustomer','customerprospect',1).'</td>';
|
print '<tr><td>'.fieldLabel('ProspectCustomer','customerprospect',1).'</td>';
|
||||||
print '<td><select class="flat" name="client" id="customerprospect">';
|
print '<td class="maxwidthonsmartphone"><select class="flat" name="client" id="customerprospect">';
|
||||||
if (empty($conf->global->SOCIETE_DISABLE_PROSPECTS)) print '<option value="2"'.($object->client==2?' selected':'').'>'.$langs->trans('Prospect').'</option>';
|
if (empty($conf->global->SOCIETE_DISABLE_PROSPECTS)) print '<option value="2"'.($object->client==2?' selected':'').'>'.$langs->trans('Prospect').'</option>';
|
||||||
if (empty($conf->global->SOCIETE_DISABLE_PROSPECTS) && empty($conf->global->SOCIETE_DISABLE_CUSTOMERS)) print '<option value="3"'.($object->client==3?' selected':'').'>'.$langs->trans('ProspectCustomer').'</option>';
|
if (empty($conf->global->SOCIETE_DISABLE_PROSPECTS) && empty($conf->global->SOCIETE_DISABLE_CUSTOMERS)) print '<option value="3"'.($object->client==3?' selected':'').'>'.$langs->trans('ProspectCustomer').'</option>';
|
||||||
if (empty($conf->global->SOCIETE_DISABLE_CUSTOMERS)) print '<option value="1"'.($object->client==1?' selected':'').'>'.$langs->trans('Customer').'</option>';
|
if (empty($conf->global->SOCIETE_DISABLE_CUSTOMERS)) print '<option value="1"'.($object->client==1?' selected':'').'>'.$langs->trans('Customer').'</option>';
|
||||||
@ -1571,7 +1571,7 @@ else
|
|||||||
if (! empty($conf->fournisseur->enabled) && ! empty($user->rights->fournisseur->lire))
|
if (! empty($conf->fournisseur->enabled) && ! empty($user->rights->fournisseur->lire))
|
||||||
{
|
{
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td>'.fieldLabel('Supplier','fournisseur',1).'</td><td>';
|
print '<td>'.fieldLabel('Supplier','fournisseur',1).'</td><td class="maxwidthonsmartphone">';
|
||||||
print $form->selectyesno("fournisseur",$object->fournisseur,1);
|
print $form->selectyesno("fournisseur",$object->fournisseur,1);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>'.fieldLabel('SupplierCode','supplier_code').'</td><td>';
|
print '<td>'.fieldLabel('SupplierCode','supplier_code').'</td><td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user