From 8da6a7e849513e1cb63410d95b121df729260d0c Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sat, 19 Sep 2026 23:05:44 +0200 Subject: tui: themes, pager markup, menu sections; merge Bokslut and year info --- docs/STATE.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'docs/STATE.md') diff --git a/docs/STATE.md b/docs/STATE.md index 32b2a4e..5112455 100644 --- a/docs/STATE.md +++ b/docs/STATE.md @@ -58,7 +58,11 @@ server/protocol/ledger only. size from `meta` first. Setting `attachment_dir` (tilde expanded). 11. **UI keys**: Ctrl+N = add, F5 = refresh, Esc/q = back (never exits), Ctrl+C = quit, 1–9/g = jump, F7 = clear row in editors, F9 = save. - Shared line editor and date field; see TUI-GUIDELINES.md. + Shared line editor and date field; see TUI-GUIDELINES.md. The dashboard + is sectioned (Bokföring / Rapporter & bokslut / Register / Övrigt) with + non-selectable headers; theme/styles and pager markup live in the widget + layer (`tui_style`, `tui_markup`). Year-end **Bokslut** and the former + "Information om året" are one screen (`yearinfo` is an alias). 12. **Login**: two steps — credentials, then org picker ("Välj organisation att representera"). No org switch in the dashboard; fiscal year switch is on the dashboard. `--org ID` bypasses the picker. @@ -99,10 +103,12 @@ server/protocol/ledger only. verksamhetsbeskrivning, flerårsöversikt and changes-in-equity from the books, resultatdisposition, styrelsens yttrande, fastställelseintyg, board signatures) and needs no prompting: everything comes from the - books, the org record (Företagsuppgifter) and the per-year - **Information om året** (`fiscal_year.update`, schema v6: events, AGM - and payment dates, proposed dividend, employees, notes — inherited from - the previous year when a year is opened). Board members are a list per + books, the org record (Företagsuppgifter) and the per-year year booklet + now edited on the **Bokslut** screen (`fiscal_year.update`, schema v6: + events, AGM and payment dates, proposed dividend, employees, notes — + inherited from the previous year when a year is opened; fields 0–5 save + per field, the periodiseringsfond/tax rate fields are local). Board + members are a list per org (`board.*`, edited under Företagsuppgifter) and the stämma decision is posted with a `Utdelning` template (D 2099/K 2898). Imported history years are read with their "Stäng" closings skipped, so comparisons and -- cgit v1.3