Update list.php
This commit is contained in:
parent
f68bbdcf45
commit
ba4fd3d44f
@ -1643,9 +1643,7 @@ if ($resql) {
|
|||||||
if ($obj->seuil_stock_alerte != '' && $product_static->stock_reel < (float) $obj->seuil_stock_alerte) {
|
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 img_warning($langs->trans("StockLowerThanLimit", $obj->seuil_stock_alerte)).' ';
|
||||||
}
|
}
|
||||||
$decimals = !isset($conf->global->MAIN_MAX_DECIMALS_STOCK) ? 5 : $conf->global->MAIN_MAX_DECIMALS_STOCK;
|
print price(price2num($product_static->stock_reel, 'MS'));
|
||||||
print price($product_static->stock_reel, 0, $langs->defaultlang, 1, -1, $decimals);
|
|
||||||
//print price2num($product_static->stock_reel, 'MS');
|
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
@ -1659,9 +1657,7 @@ if ($resql) {
|
|||||||
if ($obj->seuil_stock_alerte != '' && $product_static->stock_theorique < (float) $obj->seuil_stock_alerte) {
|
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 img_warning($langs->trans("StockLowerThanLimit", $obj->seuil_stock_alerte)).' ';
|
||||||
}
|
}
|
||||||
$decimals = !isset($conf->global->MAIN_MAX_DECIMALS_STOCK) ? 5 : $conf->global->MAIN_MAX_DECIMALS_STOCK;
|
print price(price2num($product_static->stock_theorique, 'MS'));
|
||||||
print price($product_static->stock_theorique, 0, $langs->defaultlang, 1, -1, $decimals);
|
|
||||||
//print price2num($product_static->stock_theorique, 'MS');
|
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user