FIX : Add function price2num for rounding values in productAlertStock box
This commit is contained in:
parent
e2d7e84072
commit
2ab17c44e9
@ -203,7 +203,7 @@ class box_produits_alerte_stock extends ModeleBoxes
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="center"',
|
||||
'text' => $objp->total_stock.' / '.$objp->seuil_stock_alerte,
|
||||
'text' => price2num($objp->total_stock).' / '.$objp->seuil_stock_alerte,
|
||||
'text2'=>img_warning($langs->transnoentitiesnoconv("StockLowerThanLimit", $objp->seuil_stock_alerte)),
|
||||
);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user