diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-23 09:34:16 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-23 09:34:16 +0200 |
| commit | 79b27457125dc2e259783359085021eea1d26e3a (patch) | |
| tree | e5b733b642437d34d46ee34514b093daee52fcef /docs/TUI-GUIDELINES.md | |
| parent | 6159042d0cb3870e6a7c6f8d9a97e175d59e6f80 (diff) | |
| download | bokf-79b27457125dc2e259783359085021eea1d26e3a.tar.gz bokf-79b27457125dc2e259783359085021eea1d26e3a.zip | |
tui: "Byt bolag" in the main menu
Reopens the org picker (cursor on the current org) and switches the
running session: the org's name, role, current fiscal year and series
are reloaded and the remembered list selections cleared. The context
reload now clears the previous org's values first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/TUI-GUIDELINES.md')
| -rw-r--r-- | docs/TUI-GUIDELINES.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/TUI-GUIDELINES.md b/docs/TUI-GUIDELINES.md index c2aff3d..68316e3 100644 --- a/docs/TUI-GUIDELINES.md +++ b/docs/TUI-GUIDELINES.md @@ -125,8 +125,12 @@ struct tui_action { ## Session start After login the org picker ("Välj organisation att representera") is always -shown; the selected org is fixed for the session (`--org ID` bypasses it for -scripts). The fiscal year is chosen from the dashboard and is changeable +shown (`--org ID` bypasses it for scripts). "Byt bolag" in the main menu +opens the same picker, with the cursor on the current org, and switches the +session to the chosen one: `session.use_org`, then the org's name, role, +current fiscal year and series are reloaded and the remembered list +selections are cleared; `Esc` keeps the current org. `Ctrl+R` keeps the +switched org. The fiscal year is chosen from the dashboard and is changeable during the session; the `Räkenskapsår` screen also closes and reopens years there. |
