Merge pull request #49244 from elshafei-developer/fix-convert-NaN-to-numerical-in-number_card

fix: convert NaN to numerical
This commit is contained in:
Mihir Kandoi
2025-08-27 22:06:00 +05:30
committed by GitHub

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,