diff --git a/src/QUI/ERP/Discount/Handler.php b/src/QUI/ERP/Discount/Handler.php index 9cb68784411f5a71111163a75cf57072b11dd3c7..b706918422f10d1a9354db31f31a7d52734b4098 100644 --- a/src/QUI/ERP/Discount/Handler.php +++ b/src/QUI/ERP/Discount/Handler.php @@ -86,6 +86,10 @@ public function __construct() $childData['active'] = 0; } + if (empty($childData['hidden'])) { + $childData['hidden'] = 0; + } + if (empty($childData['scope'])) { $childData['scope'] = self::DISCOUNT_SCOPE_TOTAL; }