summaryrefslogtreecommitdiff
path: root/clients/ui.h
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-21 11:45:54 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-21 11:45:54 +0200
commite1dd7112e0346914710566660625da0f6b866e8a (patch)
treec4b0d5c7f6f62c1c4c38245e7c001b3fd4b03e74 /clients/ui.h
parent182f0a592b6fe97fc1ff87add227f9d52a4ef902 (diff)
downloadbokf-0.1.55.tar.gz
bokf-0.1.55.zip
tui: payroll screens, Företag/System menu and settings splitv0.1.55
Diffstat (limited to 'clients/ui.h')
-rw-r--r--clients/ui.h9
1 files changed, 8 insertions, 1 deletions
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