// Fixed #PSTEST-887

This commit is contained in:
bMancone
2012-03-07 17:50:12 +00:00
parent 6daa5eae2b
commit d51fbc23ee
+1 -1
View File
@@ -218,7 +218,7 @@ class SupplyOrderCore extends ObjectModel
$this->total_ti = 0;
$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;
// gets all product entries in this order