Fix scrutinizer, wrong unitprice var
This commit is contained in:
parent
f89e72e329
commit
e496967235
@ -1647,7 +1647,7 @@ class Contrat extends CommonObject
|
|||||||
// if buy price not defined, define buyprice as configured in margin admin
|
// if buy price not defined, define buyprice as configured in margin admin
|
||||||
if ($this->pa_ht == 0)
|
if ($this->pa_ht == 0)
|
||||||
{
|
{
|
||||||
if (($result = $this->defineBuyPrice($pu_ht, $remise_percent)) < 0)
|
if (($result = $this->defineBuyPrice($pu, $remise_percent)) < 0)
|
||||||
{
|
{
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user