Look and feel v17

This commit is contained in:
Laurent Destailleur 2022-11-02 12:59:29 +01:00
parent 95b27d39a3
commit 1dfa3e9e98

View File

@ -1550,8 +1550,9 @@ if ($num > 0) {
// Payment condition
if (!empty($arrayfields['f.fk_cond_reglement']['checked'])) {
print '<td class="tdoverflowmax100">';
$form->form_conditions_reglement($_SERVER['PHP_SELF'], $obj->fk_cond_reglement, 'none', 1);
$s = $form->form_conditions_reglement($_SERVER['PHP_SELF'], $obj->fk_cond_reglement, 'none', 1, '', -1, -1, 1);
print '<td class="tdoverflowmax100" title="'.dol_escape_htmltag($s).'">';
print dol_escape_htmltag($s);
print '</td>';
if (!$i) {
$totalarray['nbfield']++;
@ -1559,8 +1560,9 @@ if ($num > 0) {
}
// Payment mode
if (!empty($arrayfields['f.fk_mode_reglement']['checked'])) {
print '<td class="tdoverflowmax100">';
$form->form_modes_reglement($_SERVER['PHP_SELF'], $obj->fk_mode_reglement, 'none', '', -1);
$s = $form->form_modes_reglement($_SERVER['PHP_SELF'], $obj->fk_mode_reglement, 'none', '', -1, 0, '', 1);
print '<td class="tdoverflowmax100" title="'.dol_escape_htmltag($s).'">';
print dol_escape_htmltag($s);
print '</td>';
if (!$i) {
$totalarray['nbfield']++;