From d83e5e8cd66f05ca7e6aa9fc645788313d89dfe7 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 11 Oct 2025 09:41:14 +0200 Subject: multi currency invoice handling for tax report --- include/administration.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/administration.hpp b/include/administration.hpp index f2ca9e4..ebb30d0 100644 --- a/include/administration.hpp +++ b/include/administration.hpp @@ -334,6 +334,8 @@ typedef struct char tax_category[MAX_LEN_SHORT_DESC]; float total_net; float total_tax; + bool show_net; + bool show_tax; } tax_line; typedef struct @@ -567,6 +569,7 @@ namespace administration { a_err billing_item_update_in_invoice(invoice* invoice, billing_item item); a_err billing_item_remove_from_invoice(invoice* invoice, billing_item item); + tax_subtotal billing_item_convert_to_default_currency(invoice* invoice, billing_item item); a_err billing_item_is_valid(billing_item item); u32 billing_item_get_all_for_invoice(invoice* invoice, billing_item* buffer); -- cgit v1.2.3-70-g09d2