From cf5dfa405fa3d9b480794f7f2c32e325fdfd134c Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Fri, 10 Oct 2025 23:11:18 +0200 Subject: tax statement UI --- include/administration.hpp | 3 ++- include/ui.hpp | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/administration.hpp b/include/administration.hpp index 69c0c0a..f2ca9e4 100644 --- a/include/administration.hpp +++ b/include/administration.hpp @@ -330,6 +330,7 @@ typedef struct typedef struct { + char tax_description[MAX_LEN_LONG_DESC]; char tax_category[MAX_LEN_SHORT_DESC]; float total_net; float total_tax; @@ -347,7 +348,7 @@ typedef struct typedef struct { - u32 quarter_count; + u32 report_count; tax_report reports[MAX_LEN_TAX_REPORT_QUARTERS]; } tax_statement; diff --git a/include/ui.hpp b/include/ui.hpp index 9304f78..0f71c1e 100644 --- a/include/ui.hpp +++ b/include/ui.hpp @@ -77,6 +77,7 @@ namespace ui { void draw_expenses(); void draw_earnings(); void draw_log(); + void draw_tax_report(); // Setup calls. void setup_invoices(); @@ -85,12 +86,14 @@ namespace ui { void setup_settings(); void setup_expenses(); void setup_earnings(); + void setup_tax_report(); // Destroy calls. void destroy_invoices(); void destroy_settings(); void destroy_expenses(); void destroy_earnings(); + void destroy_tax_report(); } -- cgit v1.2.3-70-g09d2