Revert "unit price not used if qty = 1"
This reverts commit fb25f479f2.
This commit is contained in:
parent
f1e87478ff
commit
2c791e528d
@ -2112,7 +2112,7 @@ class Form
|
||||
$outval.= ' '.$langs->transnoentities("Units");
|
||||
}
|
||||
|
||||
if ($objp->quantity > 1)
|
||||
if ($objp->quantity >= 1)
|
||||
{
|
||||
$opt.=" (".price($objp->unitprice,1,$langs,0,0,-1,$conf->currency)."/".$langs->trans("Unit").")"; // Do not use strtolower because it breaks utf8 encoding
|
||||
$outval.=" (".price($objp->unitprice,0,$langs,0,0,-1,$conf->currency)."/".$langs->transnoentities("Unit").")"; // Do not use strtolower because it breaks utf8 encoding
|
||||
|
||||
Loading…
Reference in New Issue
Block a user