FIX input stock value not display

the good array is "value" (like in the card tabs who give the right value)
This commit is contained in:
BENKE Charlie 2017-03-03 11:48:04 +01:00 committed by GitHub
parent d202003e29
commit 29cb5dd545

View File

@ -574,7 +574,7 @@ if ($resql)
// Value
print '<tr><td class="titlefield">'.$langs->trans("EstimatedStockValueShort").'</td><td>';
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 "</td></tr>";
// Last movement