Skip to content

Commit

Permalink
Merge pull request #11 from AleksandrsKondratjevs/issue-4076
Browse files Browse the repository at this point in the history
Issue-4076 - Fix type in magento module
  • Loading branch information
carinadues authored Feb 22, 2022
2 parents 3fa9736 + dc25d50 commit 655f155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Resolver/CreditMemo/CreditMemoItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ protected function formatDiscountDetails(
$discounts = [];
} else {
$discounts[] = [
'label' => $associatedOrder->getDiscountDescription() ?? _('Discount'),
'label' => $associatedOrder->getDiscountDescription() ?? __('Discount'),
'amount' => [
'value' => abs($creditmemoItem->getDiscountAmount()) ?? 0,
'currency' => $associatedOrder->getOrderCurrencyCode()
Expand Down

0 comments on commit 655f155

Please sign in to comment.