summaryrefslogtreecommitdiff
path: root/include/administration.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/administration.hpp')
-rw-r--r--include/administration.hpp3
1 files changed, 3 insertions, 0 deletions
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);