From 29cb5dd5452d1704c54271f1d91241497e240ec7 Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Fri, 3 Mar 2017 11:48:04 +0100 Subject: [PATCH] FIX input stock value not display the good array is "value" (like in the card tabs who give the right value) --- htdocs/product/stock/mouvement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index a5daa87a510..d23dca08282 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -574,7 +574,7 @@ if ($resql) // Value print ''.$langs->trans("EstimatedStockValueShort").''; - print price((empty($calcproducts['qty'])?'0':price2num($calcproducts['qty'],'MT')), 0, $langs, 0, -1, -1, $conf->currency); + print price((empty($calcproducts['value'])?'0':price2num($calcproducts['value'],'MT')), 0, $langs, 0, -1, -1, $conf->currency); print ""; // Last movement