error when adding payment (#1099)

Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
pull/3793/head
Elsio Sanchez 2021-08-23 12:33:40 -04:00 committed by GitHub
parent 849a93427a
commit bec6d41b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -613,7 +613,7 @@ export default {
this.$store.commit('updateValueOfField', {
containerUuid: this.containerUuid,
columnName: 'PayAmt',
value: value
value: this.round(value)
})
},
convertAllPayment(value) {
@ -627,7 +627,7 @@ export default {
this.$store.commit('updateValueOfField', {
containerUuid: this.containerUuid,
columnName: 'PayAmt',
value: this.pending
value: this.round(this.pending)
})
}
},
@ -636,13 +636,13 @@ export default {
this.$store.commit('updateValueOfField', {
containerUuid: this.containerUuid,
columnName: 'PayAmt',
value: this.pending / value.divideRate
value: this.round(this.pending / value.divideRate)
})
} else {
this.$store.commit('updateValueOfField', {
containerUuid: this.containerUuid,
columnName: 'PayAmt',
value: this.pending
value: this.round(this.pending)
})
}
},
@ -817,7 +817,7 @@ export default {
this.$store.commit('updateValueOfField', {
containerUuid: this.containerUuid,
columnName: 'PayAmt',
value: this.pending
value: this.round(this.pending)
})
})
this.defaultValueCurrency()
@ -846,7 +846,7 @@ export default {
this.$store.commit('updateValueOfField', {
containerUuid: this.containerUuid,
columnName: 'PayAmt',
value: this.pending
value: this.round(this.pending)
})
this.defaultValueCurrency()
this.$store.commit('currencyDivideRateCollection', 1)