close #1526 Fixed: Reconciliation form input values are not set

This commit is contained in:
Cüneyt Şentürk
2020-07-23 11:04:25 +03:00
parent 4366506b48
commit 2575c5d0c5
3 changed files with 17 additions and 2 deletions

View File

@ -91,9 +91,9 @@ const app = new Vue({
}
if (cleared_amount > 0) {
difference = parseFloat(this.form.closing_balance) - parseFloat(cleared_amount);
difference = (parseFloat(this.form.closing_balance) - parseFloat(cleared_amount)).toFixed(this.currency.precision);
} else {
difference = parseFloat(this.form.closing_balance) + parseFloat(cleared_amount);
difference = (parseFloat(this.form.closing_balance) + parseFloat(cleared_amount)).toFixed(this.currency.precision);
}
if (difference != 0) {