Merge branch 'NEW/develop_objets_referents_lots' of github.com:atm-gauthier/dolibarr into NEW/develop_objets_referents_lots
This commit is contained in:
commit
13a3075ffb
@ -699,7 +699,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->loadStatsReception($socid);
|
$ret = $batch->loadStatsReception($socid);
|
||||||
if ($ret < 0) {
|
if ($ret < 0) {
|
||||||
@ -716,9 +715,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->loadStatsSupplierOrder($socid);
|
$ret = $batch->loadStatsSupplierOrder($socid);
|
||||||
if ($ret < 0) {
|
if ($ret < 0) {
|
||||||
@ -735,7 +732,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)) {
|
||||||
@ -776,7 +772,6 @@ function show_stats_for_batch($batch, $socid)
|
|||||||
|
|
||||||
|
|
||||||
return $nblines++;
|
return $nblines++;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user