FIX 12.0 - round value of virtual stock on product stock reassort list

This commit is contained in:
Florian Mortgat 2020-09-14 10:49:44 +02:00
parent 701b83db38
commit 4c6b0ed5b5

View File

@ -387,7 +387,7 @@ if ($resql)
{ {
print '<td class="right">'; print '<td class="right">';
if ($objp->seuil_stock_alerte != '' && ($product->stock_theorique < $objp->seuil_stock_alerte)) print img_warning($langs->trans("StockTooLow")).' '; if ($objp->seuil_stock_alerte != '' && ($product->stock_theorique < $objp->seuil_stock_alerte)) print img_warning($langs->trans("StockTooLow")).' ';
print $product->stock_theorique; print price2num($product->stock_theorique, 'MS');
print '</td>'; print '</td>';
} }
// Units // Units