Skip to content
Code-Schnipsel Gruppen Projekte
Bestätigt Commit 8e6d6642 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

feat: erp#78

Übergeordneter c8cb55ce
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -297,10 +297,9 @@ public static function onQuiqqerOrderBasketToOrder(
])
);
$isUnique = $Discount->getAttribute('scope') === QUI\ERP\Discount\Handler::DISCOUNT_SCOPE_UNIQUE;
$everyProduct = $Discount->getAttribute(
'scope'
) === QUI\ERP\Discount\Handler::DISCOUNT_SCOPE_EVERY_PRODUCT;
$scope = $Discount->getAttribute('scope');
$isUnique = $scope === QUI\ERP\Discount\Handler::DISCOUNT_SCOPE_UNIQUE;
$everyProduct = $scope === QUI\ERP\Discount\Handler::DISCOUNT_SCOPE_EVERY_PRODUCT;
if ($everyProduct || $isUnique) {
// add to the product
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren