fix: convert NaN to numerical

This commit is contained in:
El-Shafei H.
2025-08-20 10:15:27 +03:00
committed by GitHub
parent 3c6b2a7c03
commit fac8013dba

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,