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 --- clients/ui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'clients/ui.h') diff --git a/clients/ui.h b/clients/ui.h index c546c91..8574121 100644 --- a/clients/ui.h +++ b/clients/ui.h @@ -37,6 +37,7 @@ struct app { char role[32]; int64_t fy; int64_t voucher_sel; /* last selected voucher id in the list view */ + int voucher_sort; /* VSORT_* for the list, kept in tui.conf */ int64_t invoice_sel; /* last selected invoice id in the list view */ int64_t customer_sel; /* last selected customer id in the list view */ int64_t employee_sel; /* last selected employee id in the list view */ -- cgit v1.3