From 53071bb69f5d21b35b8a61c2b1dd18832ce781d4 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Wed, 23 Sep 2026 09:13:17 +0200 Subject: tui: aligned voucher detail, up/down between vouchers, list sorting The detail pads every column by display width, blanks zero amounts and shows row texts and a Summa line. Up/Down step to the previous/next voucher in the list order; 's' cycles the list sort (number or date, ascending or descending, saved in tui.conf). The list fetches all pages of voucher.list instead of stopping at 200. Co-Authored-By: Claude Opus 5.5 --- docs/PROTOCOL.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/PROTOCOL.md') diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md index 3ddb03b..2bd889f 100644 --- a/docs/PROTOCOL.md +++ b/docs/PROTOCOL.md @@ -938,7 +938,10 @@ commands. Implemented screens (0.1.0-dev): - **Dashboard** — status line with org, fiscal year, role and user. - **Verifikat** — list and detail view (rows with column headers, an underlag section separated by a rule, hash, link to corrected voucher); `c` - posts an ändringsverifikat. + posts an ändringsverifikat. The list holds the whole fiscal year (paged + `voucher.list` calls) and `s` cycles its sort order (number or date, + ascending or descending, remembered in `tui.conf`); in the detail view + up/down step to the previous/next voucher in that order. - **Nytt verifikat** — row editor with live balance display, F5 dry-run validation and F9 posting; one `client_ref` per form makes retries safe. F4 applies a konteringsmall (prompts for template and `x`). -- cgit v1.3