From cfd42a38528bcdc34d0e5e975f1616ea83683a68 Mon Sep 17 00:00:00 2001 From: renee-png Date: Thu, 18 Jun 2026 19:09:33 -0400 Subject: [PATCH] Banking: allow editing reconciled transactions (with warning) Reconciled items were hard-blocked from editing. Replace the block with a confirmation warning that editing may unbalance the completed reconciliation. The edit save preserves reconciliation_id, so the item stays reconciled. Co-Authored-By: Claude Opus 4.8 --- src/pages/accounting/AccountingBankingPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/accounting/AccountingBankingPage.tsx b/src/pages/accounting/AccountingBankingPage.tsx index c937d82..c97a3d4 100644 --- a/src/pages/accounting/AccountingBankingPage.tsx +++ b/src/pages/accounting/AccountingBankingPage.tsx @@ -507,7 +507,7 @@ export default function AccountingBankingPage() { }; const openEdit = (tx: any) => { - if (tx.reconciliation_id) return toast.error("Reconciled transactions can't be edited"); + if (tx.reconciliation_id && !confirm("This transaction is part of a completed reconciliation. Editing it may cause that reconciliation to no longer balance. Continue?")) return; setEditId(tx.id); setTxForm({ account_id: tx.account_id ?? activeAccountId,