aboutsummaryrefslogtreecommitdiff
path: root/clients/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'clients/ui.h')
-rw-r--r--clients/ui.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/clients/ui.h b/clients/ui.h
index d10f680..b37eb4f 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, ...)
@@ -98,6 +102,7 @@ extern const struct is_group IS_GROUPS[IS_GROUPS_N];
/* defined in bokftui.c, used by screens */
void open_scene(struct app *a, const char *name);
void config_mkdirs(const char *path);
+void config_save(struct app *a);
/* Optional prefill for the new-voucher form (bank reconciliation). */
struct voucher_prefill {
@@ -125,10 +130,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 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);
+void system_screen(struct app *a);
#endif