Debug v19

This commit is contained in:
Laurent Destailleur 2023-12-14 15:16:11 +01:00
parent 2aced0faaa
commit 6ca736e8a5
2 changed files with 8 additions and 2 deletions

View File

@ -497,8 +497,12 @@ if ($this->statut == 0 && !empty($object_rights->creer) && $action != 'selectlin
$coldisplay++;
}
} else {
print '<td colspan="3"></td>';
$coldisplay = $coldisplay + 3;
$colspan = 3;
if (isModEnabled('asset') && $object->element == 'invoice_supplier') {
$colspan++;
}
print '<td colspan="'.$colspan.'"></td>';
$coldisplay = $coldisplay + $colspan;
}
if ($action == 'selectlines') { ?>

View File

@ -2751,6 +2751,7 @@ if ($action == 'create') {
// Intracomm report
if (isModEnabled('intracommreport')) {
$langs->loadLangs(array("intracommreport"));
print '<!-- If module intracomm on -->'."\n";
print '<tr><td>'.$langs->trans('IntracommReportTransportMode').'</td><td>';
$form->selectTransportMode(GETPOSTISSET('transport_mode_id') ? GETPOST('transport_mode_id') : $transport_mode_id, 'transport_mode_id');
print '</td></tr>';
@ -3500,6 +3501,7 @@ if ($action == 'create') {
// Intracomm report
if (isModEnabled('intracommreport')) {
$langs->loadLangs(array("intracommreport"));
print '<!-- If module intracomm on -->'."\n";
print '<tr><td>';
print '<table class="nobordernopadding centpercent"><tr><td>';
print $langs->trans('IntracommReportTransportMode');