Merge branch fix-amount issue on payment

This commit is contained in:
Mohit Panjwani
2020-12-22 12:00:28 +05:30
3 changed files with 3 additions and 3 deletions

View File

@ -296,7 +296,7 @@ export default {
},
set: function (newValue) {
if (parseFloat(newValue) > 0) {
this.item.price = newValue * 100
this.item.price = (newValue * 100).toFixed(2)
this.maxDiscount = this.item.price
} else {
this.item.price = newValue

View File

@ -296,7 +296,7 @@ export default {
},
set: function (newValue) {
if (parseFloat(newValue) > 0) {
this.item.price = newValue * 100
this.item.price = (newValue * 100).toFixed(2)
this.maxDiscount = this.item.price
} else {
this.item.price = newValue

View File

@ -288,7 +288,7 @@ export default {
return this.formData.amount / 100
},
set: function (newValue) {
this.formData.amount = newValue * 100
this.formData.amount = (newValue * 100).toFixed(2)
},
},
pageTitle() {