|
@@ -1047,7 +1047,7 @@ else
|
|
|
|
|
|
// Address
|
|
|
print '<tr><td class="tdtop">'.fieldLabel('Address','address').'</td>';
|
|
|
- print '<td colspan="3"><textarea name="address" id="address" cols="80" rows="'._ROWS_2.'" wrap="soft">';
|
|
|
+ print '<td colspan="3"><textarea name="address" id="address" class="quatrevingtpercent" rows="'._ROWS_2.'" wrap="soft">';
|
|
|
print $object->address;
|
|
|
print '</textarea></td></tr>';
|
|
|
|
|
@@ -1104,12 +1104,9 @@ else
|
|
|
if (($j % 2) == 0) print '<tr>';
|
|
|
|
|
|
$idprof_mandatory ='SOCIETE_IDPROF'.($i).'_MANDATORY';
|
|
|
- if(empty($conf->global->$idprof_mandatory))
|
|
|
- print '<td>'.fieldLabel($idprof,$key).'</td><td>';
|
|
|
- else
|
|
|
- print '<td>'.fieldLabel($idprof,$key,1).'</td><td>';
|
|
|
+ print '<td>'.fieldLabel($idprof,$key, (empty($conf->global->$idprof_mandatory)?0:1)).'</td><td>';
|
|
|
|
|
|
- print $formcompany->get_input_id_prof($i,$key,$object->$key,$object->country_code);
|
|
|
+ print $formcompany->get_input_id_prof($i, $key, $object->$key, $object->country_code);
|
|
|
print '</td>';
|
|
|
if (($j % 2) == 1) print '</tr>';
|
|
|
$j++;
|
|
@@ -1153,12 +1150,12 @@ else
|
|
|
print '</tr>';
|
|
|
|
|
|
// Type - Size
|
|
|
- print '<tr><td>'.fieldLabel('ThirdPartyType','typent_id').'</td><td>'."\n";
|
|
|
+ print '<tr><td>'.fieldLabel('ThirdPartyType','typent_id').'</td><td class="maxwidthonsmartphone">'."\n";
|
|
|
$sortparam=(empty($conf->global->SOCIETE_SORT_ON_TYPEENT)?'ASC':$conf->global->SOCIETE_SORT_ON_TYPEENT); // NONE means we keep sort of original array, so we sort on position. ASC, means next function will sort on label.
|
|
|
print $form->selectarray("typent_id", $formcompany->typent_array(0), $object->typent_id, 0, 0, 0, '', 0, 0, 0, $sortparam);
|
|
|
if ($user->admin) print ' '.info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1);
|
|
|
print '</td>';
|
|
|
- print '<td>'.fieldLabel('Staff','effectif_id').'</td><td>';
|
|
|
+ print '<td>'.fieldLabel('Staff','effectif_id').'</td><td class="maxwidthonsmartphone">';
|
|
|
print $form->selectarray("effectif_id", $formcompany->effectif_array(0), $object->effectif_id);
|
|
|
if ($user->admin) print ' '.info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1);
|
|
|
print '</td></tr>';
|
|
@@ -1604,7 +1601,7 @@ else
|
|
|
|
|
|
// Address
|
|
|
print '<tr><td class="tdtop">'.fieldLabel('Address','address').'</td>';
|
|
|
- print '<td colspan="3"><textarea name="address" id="address" cols="80" rows="3" wrap="soft">';
|
|
|
+ print '<td colspan="3"><textarea name="address" id="address" class="quatrevingtpercent" rows="3" wrap="soft">';
|
|
|
print $object->address;
|
|
|
print '</textarea></td></tr>';
|
|
|
|
|
@@ -1760,11 +1757,11 @@ else
|
|
|
}
|
|
|
|
|
|
// Type - Size
|
|
|
- print '<tr><td>'.fieldLabel('ThirdPartyType','typent_id').'</td><td>';
|
|
|
+ print '<tr><td>'.fieldLabel('ThirdPartyType','typent_id').'</td><td class="maxwidthonsmartphone">';
|
|
|
print $form->selectarray("typent_id",$formcompany->typent_array(0), $object->typent_id, 0, 0, 0, '', 0, 0, 0, (empty($conf->global->SOCIETE_SORT_ON_TYPEENT)?'ASC':$conf->global->SOCIETE_SORT_ON_TYPEENT));
|
|
|
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1);
|
|
|
print '</td>';
|
|
|
- print '<td>'.fieldLabel('Staff','effectif_id').'</td><td>';
|
|
|
+ print '<td>'.fieldLabel('Staff','effectif_id').'</td><td class="maxwidthonsmartphone">';
|
|
|
print $form->selectarray("effectif_id",$formcompany->effectif_array(0), $object->effectif_id);
|
|
|
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1);
|
|
|
print '</td></tr>';
|