Skip to content

Commit

Permalink
MOL-1257: Allow Refund with composition quantity of 0 (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrzefski authored Sep 25, 2023
1 parent 8314b53 commit 828178b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Service/Refund/Mollie/RefundMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'][] = [
Expand Down

0 comments on commit 828178b

Please sign in to comment.