This commit is contained in:
Anthony Berton 2022-08-25 08:32:18 +02:00
parent 6f8de50004
commit 198ff21890

View File

@ -1787,7 +1787,9 @@ if ($resql) {
if ($obj->seuil_stock_alerte != '' && $product_static->stock_reel < (float) $obj->seuil_stock_alerte) {
print img_warning($langs->trans("StockLowerThanLimit", $obj->seuil_stock_alerte)).' ';
}
print price(price2num($product_static->stock_reel, 'MS'));
if ($usercancreadprice) {
print price(price2num($product_static->stock_reel, 'MS'));
}
}
print '</td>';
if (!$i) {
@ -1801,7 +1803,9 @@ if ($resql) {
if ($obj->seuil_stock_alerte != '' && $product_static->stock_theorique < (float) $obj->seuil_stock_alerte) {
print img_warning($langs->trans("StockLowerThanLimit", $obj->seuil_stock_alerte)).' ';
}
print price(price2num($product_static->stock_theorique, 'MS'));
if ($usercancreadprice) {
print price(price2num($product_static->stock_theorique, 'MS'));
}
}
print '</td>';
if (!$i) {