// Fixed #PSTEST-887
This commit is contained in:
@@ -218,7 +218,7 @@ class SupplyOrderCore extends ObjectModel
|
|||||||
$this->total_ti = 0;
|
$this->total_ti = 0;
|
||||||
$is_discount = false;
|
$is_discount = false;
|
||||||
|
|
||||||
if (is_numeric($this->discount_rate) && (float)$this->discount_rate > 0)
|
if (is_numeric($this->discount_rate) && (float)$this->discount_rate >= 0)
|
||||||
$is_discount = true;
|
$is_discount = true;
|
||||||
|
|
||||||
// gets all product entries in this order
|
// gets all product entries in this order
|
||||||
|
|||||||
Reference in New Issue
Block a user