Fixing style errors.

This commit is contained in:
stickler-ci 2023-02-17 09:06:07 +00:00
parent e807b0d717
commit 40f52afb9e
6 changed files with 218 additions and 223 deletions

View File

@ -698,7 +698,6 @@ function show_stats_for_batch($batch, $socid)
} }
if (isModEnabled("reception") && !empty($user->rights->reception->lire)) { if (isModEnabled("reception") && !empty($user->rights->reception->lire)) {
$nblines++; $nblines++;
$ret = $batch->load_stats_reception($socid); $ret = $batch->load_stats_reception($socid);
if ($ret < 0) { if ($ret < 0) {
@ -715,9 +714,7 @@ function show_stats_for_batch($batch, $socid)
print $batch->stats_reception['qty']; print $batch->stats_reception['qty'];
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
} elseif (isModEnabled('supplier_order') && !empty($user->rights->fournisseur->commande->lire)) { } elseif (isModEnabled('supplier_order') && !empty($user->rights->fournisseur->commande->lire)) {
$nblines++; $nblines++;
$ret = $batch->load_stats_supplier_order($socid); $ret = $batch->load_stats_supplier_order($socid);
if ($ret < 0) { if ($ret < 0) {
@ -734,7 +731,6 @@ function show_stats_for_batch($batch, $socid)
print $batch->stats_supplier_order['qty']; print $batch->stats_supplier_order['qty'];
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
} }
if (isModEnabled('mrp') && !empty($user->rights->mrp->read)) { if (isModEnabled('mrp') && !empty($user->rights->mrp->read)) {
@ -775,7 +771,6 @@ function show_stats_for_batch($batch, $socid)
return $nblines++; return $nblines++;
} }
/** /**