Merge pull request #9731 from atm-ph/fix_7.0_empty_column_physical_stock

Fix display 0 (as virtual stock) instead of empty string
This commit is contained in:
Laurent Destailleur 2018-10-12 18:17:04 +02:00 committed by GitHub
commit fd46ae13d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,7 +338,7 @@ if ($resql)
// Real stock
print '<td align="right">';
if ($objp->seuil_stock_alerte != '' && ($objp->stock_physique < $objp->seuil_stock_alerte)) print img_warning($langs->trans("StockTooLow")).' ';
print $objp->stock_physique;
print $objp->stock_physique|0;
print '</td>';
// Details per warehouse