summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-08-09 17:40:03 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-08-09 17:40:03 +0200
commit7a29dfbc37f2440b7e5461e905651b25615d2d02 (patch)
tree838997dbd968ef787a309ec980a18e0a74809585 /include
parent66d21e5fef32f64219f0f0b86c3b4b4a74623ba1 (diff)
editing and adding of tax brackets and cost centers
Diffstat (limited to 'include')
-rw-r--r--include/administration.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/administration.hpp b/include/administration.hpp
index 196e674..b567f6f 100644
--- a/include/administration.hpp
+++ b/include/administration.hpp
@@ -5,6 +5,7 @@
typedef struct
{
+ char id[16];
char country_code[3];
float rate; // 0-100
char description[32];
@@ -145,6 +146,8 @@ u32 administration_get_projects(u32 page_index, u32 page_size, project* buff
u32 administration_get_tax_bracket_count();
u32 administration_get_tax_brackets(country_tax_bracket* buffer);
+bool administration_add_tax_bracket(country_tax_bracket data);
+bool administration_update_tax_bracket(country_tax_bracket data);
u32 administration_get_cost_center_count();
u32 administration_get_cost_centers(cost_center* buffer);