Merge pull request #17379 from atm-adrien/FIX_add_function_price2num_to_productAlertStock_box_12.0

FIX : Add function price2num for rounding values in productAlertStock…
This commit is contained in:
Laurent Destailleur 2021-04-27 18:45:26 +02:00 committed by GitHub
commit 0a871546ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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, 'MS').' / '.$objp->seuil_stock_alerte,
'text2'=>img_warning($langs->transnoentitiesnoconv("StockLowerThanLimit", $objp->seuil_stock_alerte)),
);