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:
commit
fd46ae13d6
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user