diff options
Diffstat (limited to 'include/administration.hpp')
| -rw-r--r-- | include/administration.hpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/administration.hpp b/include/administration.hpp index fede22a..d899987 100644 --- a/include/administration.hpp +++ b/include/administration.hpp @@ -280,6 +280,11 @@ typedef struct typedef struct { + invoice_status status; +} invoice_extras; + +typedef struct +{ char id[MAX_LEN_ID]; // I/[id] char sequential_number[MAX_LEN_SEQ_NUM]; // INV0000000000 - INV9999999999 time_t issued_at; @@ -298,13 +303,14 @@ typedef struct char currency[MAX_LEN_CURRENCY]; // 3 letter code bool is_triangulation; // True if addressee != customer - invoice_status status; bool is_outgoing; // Outgoing or incomming invoice. payment_information payment_means; - + contact supplier; contact customer; delivery_info addressee; + + invoice_extras extras; // Stored outside of invoice file. } invoice; typedef struct |
