Skip to content

Commit 8e4c9ad

Browse files
author
niravkrish
committed
changes suggested by reviewer
1 parent d6b1000 commit 8e4c9ad

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ define([
120120

121121
/**
122122
* @param {*} amount
123-
* @param {*} totalper
124-
* @param {*} per
123+
* @param {*} totalPercentage
124+
* @param {*} percentage
125125
* @return {*|String}
126126
*/
127-
getPercerntAmount: function (amount, totalper, per) {
128-
return parseFloat((amount * per) / totalper);
127+
getPercerntAmount: function (amount, totalPercentage, percentage) {
128+
return parseFloat((amount * percentage) / totalPercentage);
129129
},
130130

131131
/**

0 commit comments

Comments
 (0)