fix: convert NaN to numerical

(cherry picked from commit fac8013dba)
This commit is contained in:
El-Shafei H.
2025-08-20 10:15:27 +03:00
committed by Mergify
parent 7926cfd8c4
commit 0b3fac3a0e

View File

@@ -26,7 +26,7 @@ erpnext.accounts.bank_reconciliation.NumberCardManager = class NumberCardManager
currency: this.currency,
},
{
value: this.bank_statement_closing_balance - this.cleared_balance,
value: flt(this.bank_statement_closing_balance) - flt(this.cleared_balance),
label: __("Difference"),
datatype: "Currency",
currency: this.currency,