diff --git a/src/components/ADempiere/Form/VPOS/Collection/index.vue b/src/components/ADempiere/Form/VPOS/Collection/index.vue
index 4ab7bb65..45a26fb0 100644
--- a/src/components/ADempiere/Form/VPOS/Collection/index.vue
+++ b/src/components/ADempiere/Form/VPOS/Collection/index.vue
@@ -670,6 +670,9 @@ export default {
}
})
}
+ },
+ precision() {
+ return this.$store.getters.getCurrency.standardPrecision
}
},
created() {
@@ -749,13 +752,14 @@ export default {
containerUuid,
columnName: 'ReferenceNo'
})
+
if (this.sendToServer) {
this.$store.dispatch('setPaymentBox', {
posUuid,
orderUuid,
bankUuid,
referenceNo,
- amount: this.amontSend,
+ amount: this.round(this.amontSend, this.precision),
convertedAmount: this.amontSend * this.dayRate.divideRate,
paymentDate,
tenderTypeCode,
@@ -767,7 +771,7 @@ export default {
orderUuid,
bankUuid,
referenceNo,
- amount: this.amontSend,
+ amount: this.round(this.amontSend, this.precision),
convertedAmount: this.amontSend * this.dayRate.divideRate,
paymentDate,
tenderTypeCode,
diff --git a/src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/index.vue b/src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/index.vue
index ecdc3621..268648ba 100644
--- a/src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/index.vue
+++ b/src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/index.vue
@@ -97,22 +97,6 @@
-
-
-
-
-
-
-