summaryrefslogtreecommitdiff
path: root/include/countries.hpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-10-26 08:27:48 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-10-26 08:27:48 +0100
commit5abb2cbd8f201b8a8101a661f1dd9a68412d8674 (patch)
treed11d1483100ed89eabf37efaaf3fae16df3cc4e6 /include/countries.hpp
parent8df1486ca41edb625feb269fe7f7997fa5ffacfe (diff)
refactor ui, fix autocomplete bug
Diffstat (limited to 'include/countries.hpp')
-rw-r--r--include/countries.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/countries.hpp b/include/countries.hpp
index 0e3704f..5364eff 100644
--- a/include/countries.hpp
+++ b/include/countries.hpp
@@ -22,6 +22,7 @@ typedef struct
{
char* country_code;
bool is_EU;
+ bool enabled; // true = can be used as operating country.
time_t (*get_default_invoice_expire_duration)();
@@ -41,6 +42,7 @@ namespace country {
time_t get_default_invoice_expire_duration(char* country_code);
bool is_EU(char* country_code);
+ bool is_enabled(char* country_code);
bool tax_is_implemented(char* country_code);
void fill_tax_report_with_categories(char* country_code, tax_report* report);
bool add_billing_item_to_tax_report(char* country_code, tax_report* report, invoice* inv, billing_item* item);