Merge pull request #3280 from CihanSenturk/fix-reconcilation-calculate-issue

Fixed reconcilation calculate issue fixed
This commit is contained in:
Cihan Şentürk 2025-03-28 11:17:19 +03:00 committed by GitHub
commit 16b8147733
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -98,11 +98,15 @@ const app = new Vue({
cleared_amount = parseFloat(this.form.opening_balance) + transaction_total;
}
// This line disable Ticket #7953 Clickup (86c2u3bty)
/*
if (cleared_amount > 0) {
difference = (parseFloat(this.form.closing_balance) - parseFloat(cleared_amount)).toFixed(this.currency.precision);
} else {
difference = (parseFloat(this.form.closing_balance) + parseFloat(cleared_amount)).toFixed(this.currency.precision);
}
*/
difference = (parseFloat(this.form.closing_balance) - parseFloat(cleared_amount)).toFixed(this.currency.precision);
if (difference != 0) {
this.difference = 'bg-orange-300';