Skip to content

Commit

Permalink
fix calculate rabatt
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Sep 29, 2023
1 parent b086bc0 commit efbb2fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/OrderRequestFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ protected function getAmount(): AmountWithBreakdown

// possible price surcharge
if ($discount < 0) {
$itemTotal += $discount;
$itemTotal -= $discount;
$discount = 0;
}
$total = $itemTotal - $discount;
Expand Down

0 comments on commit efbb2fc

Please sign in to comment.