From e1dd7112e0346914710566660625da0f6b866e8a Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Mon, 21 Sep 2026 11:45:54 +0200 Subject: tui: payroll screens, Företag/System menu and settings split MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clients/ui.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'clients/ui.h') diff --git a/clients/ui.h b/clients/ui.h index d10f680..2b93106 100644 --- a/clients/ui.h +++ b/clients/ui.h @@ -39,6 +39,8 @@ struct app { int64_t voucher_sel; /* last selected voucher id in the list view */ 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 */ + int64_t payroll_sel; /* last selected payroll run id in the list view */ char default_series[16]; char attachment_dir[256]; long max_attachment_bytes; @@ -77,6 +79,8 @@ char *read_file_b64(const char *path); char *file_browser(struct app *a, const char *start_dir); void attachment_download(struct app *a, int64_t att_id); int64_t pick_voucher(struct app *a); +void pdf_save_and_open(const char *b64, const char *filename, + const char *title); /* generated-document helpers (reports, bokslut) */ void buf_line(struct buf *b, const char *fmt, ...) @@ -125,10 +129,13 @@ void bank_screen(struct app *a); void audit_screen(struct app *a); void templates_screen(struct app *a); void ib_screen(struct app *a); -void settings_screen(struct app *a); void company_screen(struct app *a); +void system_settings_screen(struct app *a); void invoices_screen(struct app *a); void customers_screen(struct app *a); void bokslut_screen(struct app *a); +void employees_screen(struct app *a); +void payroll_screen(struct app *a); +void payroll_tax_tables_screen(struct app *a); #endif -- cgit v1.3