feat(reconciliation): absorb the last bank-view tools and retire /reports/bank-reconciliation (#1871)
The old Bankavstämning report page was the only place a user could still tag a bank row as ingående balans or move it to another bank account, so the new /reconciliation page kept linking out to it and the reconciliation lived in two places. Both row tools now live on the account overview (hover-revealed, same endpoints), the ?autorun=1 deep link from the transactions inbox runs the matcher on the new page, and the report slug redirects: old links, ⌘K, the bokslut readiness wizard and the ignore toast all land on /reconciliation. BankReconciliationView and its FocusedReport branches (own range preset, help popover, autoRun plumbing) are removed; the source-grepping parity test for its quick-book path goes with it. Co-authored-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Jakob Wennberg
Claude Fable 5
parent
d88df74b85
commit
9ebb2e518f
@@ -152,10 +152,7 @@ export async function buildBokslutReadinessReport(
|
||||
reconciliation.unmatched_transaction_count > 0
|
||||
? `${reconciliation.unmatched_transaction_count} banktransaktioner är inte matchade. Avstäm banken innan bokslut.`
|
||||
: `Bankavstämningen visar en differens på ${reconciliation.difference.toFixed(2)} kr.`,
|
||||
// Bankavstämning's real route: the earlier '/reconciliation/bank' href
|
||||
// pointed at a page that has never existed, so the wizard's "Öppna"
|
||||
// link 404ed.
|
||||
href: '/reports/bank-reconciliation',
|
||||
href: '/reconciliation',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -305,6 +305,10 @@ export const REPORT_CATALOG: ReportDescriptor[] = [
|
||||
// uses the shared ReportDateRange like every other report, mounted with a
|
||||
// full-year default and its own preset memory (see FocusedReport).
|
||||
params: 'fiscal-range',
|
||||
// 2026-08-25: the bank view was absorbed by /reconciliation (matcher,
|
||||
// manual N:1 matching, residual booking, IB tag, move-to-account all live
|
||||
// there). The slug stays for old links and the report library; it redirects.
|
||||
route: '/reconciliation',
|
||||
},
|
||||
|
||||
// --- Export & arkiv: library-only ---
|
||||
|
||||
Reference in New Issue
Block a user