diff options
| author | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-09 17:30:15 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-09 17:30:15 +0100 |
| commit | 0821197bc1c57c756e737740d6a6de9c83314fae (patch) | |
| tree | 4963d2be78bd0978442a4b311889c6f2c5feaeee /include/countries.hpp | |
| parent | ccacaf0582bcea4a71ec8247ade0fd75e4ca99bf (diff) | |
fix warnings
Diffstat (limited to 'include/countries.hpp')
| -rw-r--r-- | include/countries.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/countries.hpp b/include/countries.hpp index 1595b85..de91dab 100644 --- a/include/countries.hpp +++ b/include/countries.hpp @@ -39,14 +39,14 @@ namespace country { s32 get_count(); const char* get_code_by_index(s32 index); - time_t get_default_invoice_expire_duration(char* country_code); + time_t get_default_invoice_expire_duration(const char* country_code); bool is_EU(const char* country_code); bool is_enabled(const char* country_code); bool tax_is_implemented(const 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); - float calculate_tax_report_final(char* country_code, tax_report* report); - time_t get_invoice_date_to_use_for_tax_report(char* country_code, invoice* inv); + void fill_tax_report_with_categories(const char* country_code, tax_report* report); + bool add_billing_item_to_tax_report(const char* country_code, tax_report* report, invoice* inv, billing_item* item); + float calculate_tax_report_final(const char* country_code, tax_report* report); + time_t get_invoice_date_to_use_for_tax_report(const char* country_code, invoice* inv); u32 get_available_tax_rates(const char* country_code, tax_rate* buffer, u32 buffer_size); } |
