Skip to content

Commit 11b9b44

Browse files
author
David Verholen
authored
fix typo Percernt -> Percent
1 parent 8e4c9ad commit 11b9b44

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/tax.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ define([
115115
totalPercentage += parseFloat(rate.percent);
116116
});
117117

118-
return this.getFormattedPrice(this.getPercerntAmount(amount, totalPercentage, percentage));
118+
return this.getFormattedPrice(this.getPercentAmount(amount, totalPercentage, percentage));
119119
},
120120

121121
/**
@@ -124,7 +124,7 @@ define([
124124
* @param {*} percentage
125125
* @return {*|String}
126126
*/
127-
getPercerntAmount: function (amount, totalPercentage, percentage) {
127+
getPercentAmount: function (amount, totalPercentage, percentage) {
128128
return parseFloat((amount * percentage) / totalPercentage);
129129
},
130130

0 commit comments

Comments
 (0)