update code toward php8 compliance
This commit is contained in:
parent
988eea0a36
commit
5b94ee35da
@ -73,7 +73,7 @@ if ($nolinesbefore) {
|
|||||||
print '<td class="linecolqty right">'.$langs->trans('Qty').'</td>';
|
print '<td class="linecolqty right">'.$langs->trans('Qty').'</td>';
|
||||||
|
|
||||||
if ($filtertype != 1) {
|
if ($filtertype != 1) {
|
||||||
if (!empty($conf->global->PRODUCT_USE_UNITS)) {
|
if (getDolGlobalInt('PRODUCT_USE_UNITS')) {
|
||||||
print '<td class="linecoluseunit left">';
|
print '<td class="linecoluseunit left">';
|
||||||
print '<span id="title_units">';
|
print '<span id="title_units">';
|
||||||
print $langs->trans('Unit');
|
print $langs->trans('Unit');
|
||||||
@ -145,7 +145,7 @@ print '<td class="bordertop nobottom linecolqty right"><input type="text" size="
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
if ($filtertype != 1) {
|
if ($filtertype != 1) {
|
||||||
if (!empty($conf->global->PRODUCT_USE_UNITS)) {
|
if (getDolGlobalInt('PRODUCT_USE_UNITS')) {
|
||||||
$coldisplay++;
|
$coldisplay++;
|
||||||
print '<td class="nobottom linecoluseunit left">';
|
print '<td class="nobottom linecoluseunit left">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user