Fix : Set empty td at the correct position when product use unit (#36787)
Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
This commit is contained in:
parent
39b251f3ca
commit
2a8df9e3b1
1 changed files with 4 additions and 4 deletions
|
|
@ -489,6 +489,10 @@ if ($resql) {
|
|||
print '<td class="liste_titre"> </td>';
|
||||
$colspan++;
|
||||
}
|
||||
if (getDolGlobalString('PRODUCT_USE_UNITS')) {
|
||||
print '<td class="liste_titre"></td>';
|
||||
$colspan++;
|
||||
}
|
||||
$parameters = array();
|
||||
$reshook = $hookmanager->executeHooks('printFieldListOption', $parameters); // Note that $action and $object may have been modified by hook
|
||||
print $hookmanager->resPrint;
|
||||
|
|
@ -505,10 +509,6 @@ if ($resql) {
|
|||
print '</td>';
|
||||
$colspan++;
|
||||
}
|
||||
if (getDolGlobalString('PRODUCT_USE_UNITS')) {
|
||||
print '<td class="liste_titre"></td>';
|
||||
$colspan++;
|
||||
}
|
||||
print '</tr>';
|
||||
|
||||
// Line for column titles
|
||||
|
|
|
|||
Loading…
Reference in a new issue