summaryrefslogtreecommitdiff
path: root/include/administration.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/administration.hpp')
-rw-r--r--include/administration.hpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/administration.hpp b/include/administration.hpp
index fe3d7b2..95d4622 100644
--- a/include/administration.hpp
+++ b/include/administration.hpp
@@ -109,18 +109,15 @@ typedef struct
float amount;
bool amount_is_percentage;
char description[MAX_LEN_LONG_DESC];
- float net_per_item;
+ float net_per_item; // Net per item before discount.
float discount;
bool discount_is_percentage;
float allowance; // Total discount.
- float net;
+ float net; // Total net, with discount.
char currency[MAX_LEN_CURRENCY]; // 3 letter code
char tax_bracket_id[MAX_LEN_ID]; // T/[id]
float tax;
float total;
-
- // TODO uninplemented
- char tax_section[MAX_LEN_TAX_SECTION];
} billing_item;
/**
@@ -257,11 +254,6 @@ typedef struct
invoice_status status;
bool is_outgoing; // Outgoing or incomming invoice.
payment_information payment_means;
-
- bool is_intra_community; // TODO uninplemented
- time_t payment_on_account_date; // TODO uninplemented
- char tax_representative[MAX_LEN_LONG_DESC]; // TODO uninplemented
- char corrected_sequential_number[MAX_LEN_ID]; // TODO uninplemented
// Used for forms, not stored on disk. Filled when retrieved.
contact supplier;