From 828178b59fcfe415dad0509ffe309a666f62eca5 Mon Sep 17 00:00:00 2001 From: Julian Krzefski Date: Mon, 25 Sep 2023 12:42:36 +0200 Subject: [PATCH] MOL-1257: Allow Refund with composition quantity of 0 (#589) --- src/Service/Refund/Mollie/RefundMetadata.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Service/Refund/Mollie/RefundMetadata.php b/src/Service/Refund/Mollie/RefundMetadata.php index 7e87fd251..546ecf33b 100644 --- a/src/Service/Refund/Mollie/RefundMetadata.php +++ b/src/Service/Refund/Mollie/RefundMetadata.php @@ -85,10 +85,6 @@ public function toString(): string ]; foreach ($this->items as $item) { - if ($item->getQuantity() <= 0) { - continue; - } - $swLineId = $this->dataCompression->compress($item->getShopwareLineID()); $data['composition'][] = [