Feature/quick review scroll (#110)
* fix: allow scrolling in QuickReviewDialog when content overflows viewport The dialog had no max-height or overflow handling, so tall content (e.g. extern representation with warnings + journal preview) was clipped with no way to scroll. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: add detailed error logging to Enable Banking integration Adds structured console logging with full context (status codes, response bodies, connection IDs, account UIDs, stack traces) to all Enable Banking operations: connect, callback, sync, disconnect, and the API client retry/error paths. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: add detailed error logging to login and register flows Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: implement KPI settings management with preferences and dynamic KPI display --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
4d4a9a40c9
commit
c1630068b3
@@ -2027,7 +2027,16 @@ export interface KPIReport {
|
||||
vatLiability: number // SEK, ruta 49 (positive = owe, negative = refund)
|
||||
totalRevenue: number // SEK
|
||||
totalExpenses: number // SEK
|
||||
grossMargin: number | null // percentage, null if no revenue
|
||||
expenseRatio: number | null // percentage, null if no revenue
|
||||
avgPaymentDays: number | null // days, null if fewer than 5 paid invoices
|
||||
periodComplete: boolean // whether selected period is closed/complete
|
||||
months: { label: string; income: number; expenses: number; net: number }[]
|
||||
period: { start: string; end: string }
|
||||
}
|
||||
|
||||
export interface KPIPreferences {
|
||||
visibleKpis: string[]
|
||||
kpiOrder: string[]
|
||||
accountOverrides: Record<string, string[]>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user