We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6b1000 commit 8e4c9adCopy full SHA for 8e4c9ad
app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/tax.js
@@ -120,12 +120,12 @@ define([
120
121
/**
122
* @param {*} amount
123
- * @param {*} totalper
124
- * @param {*} per
+ * @param {*} totalPercentage
+ * @param {*} percentage
125
* @return {*|String}
126
*/
127
- getPercerntAmount: function (amount, totalper, per) {
128
- return parseFloat((amount * per) / totalper);
+ getPercerntAmount: function (amount, totalPercentage, percentage) {
+ return parseFloat((amount * percentage) / totalPercentage);
129
},
130
131
0 commit comments