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/STATE.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/STATE.md') diff --git a/docs/STATE.md b/docs/STATE.md index fa0db74..d77cd78 100644 --- a/docs/STATE.md +++ b/docs/STATE.md @@ -14,6 +14,13 @@ unit tests and the docs consistency check. ## Resume here (2026-09-22) +- **Verifikat list/detail (2026-09-23, branch `eff/voucher-nav`)**: the + detail's columns are padded by display width (the header's `Benämning` + used to shift a column), zero amounts are blank, row texts and a `Summa` + line are shown; up/down step to the previous/next voucher in the list + order; `s` cycles the list sort (nummer/datum, stigande/fallande, saved in + `tui.conf`). The list now fetches every page of `voucher.list` — it + stopped at 200 vouchers before. Sort/step logic in `clients/vlist.[ch]`. - **TUI field editing (2026-09-23, branch `eff/tui-fields`, not merged)**: one shared field editor in `clients/tui.c` for forms, row-table header fields and prompts. Forms edit in place in the value column (no bottom -- cgit v1.3