Skip to content

Commit d48a458

Browse files
committed
ACP2E-964: grand_total and base_grand_total have different values, although we have only ONE currency
1 parent b65dd07 commit d48a458

File tree

1 file changed

+1
-5
lines changed
  • app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary

1 file changed

+1
-5
lines changed

app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/grand-total.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,7 @@ define([
6969

7070
amount = this.getFormattedPrice(total['grand_total'] - total['tax_amount']);
7171

72-
if (amount < 0) {
73-
return 0;
74-
}
75-
76-
return amount;
72+
return amount < 0 ? 0 : amount;
7773
},
7874

7975
/**

0 commit comments

Comments
 (0)