From fac8013dba8d2302f37e9bc95bfc3c3f3042df50 Mon Sep 17 00:00:00 2001 From: "El-Shafei H." Date: Wed, 20 Aug 2025 10:15:27 +0300 Subject: [PATCH] fix: convert NaN to numerical --- erpnext/public/js/bank_reconciliation_tool/number_card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/bank_reconciliation_tool/number_card.js b/erpnext/public/js/bank_reconciliation_tool/number_card.js index d39884c381e..381d94ed785 100644 --- a/erpnext/public/js/bank_reconciliation_tool/number_card.js +++ b/erpnext/public/js/bank_reconciliation_tool/number_card.js @@ -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,