Fix display 0 (as virtual stock) instead of empty string
This commit is contained in:
parent
84605bc59b
commit
79420593f4
@ -338,7 +338,7 @@ if ($resql)
|
|||||||
// Real stock
|
// Real stock
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
if ($objp->seuil_stock_alerte != '' && ($objp->stock_physique < $objp->seuil_stock_alerte)) print img_warning($langs->trans("StockTooLow")).' ';
|
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>';
|
print '</td>';
|
||||||
|
|
||||||
// Details per warehouse
|
// Details per warehouse
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user