summaryrefslogtreecommitdiff
path: root/include/administration.hpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-09-26 18:41:40 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-09-26 18:41:40 +0200
commitbd3f2b84742067d0b9049b9f42f2266f94dbb0f9 (patch)
tree6cec399009a035fbdf0204a10d43a7a81cea8c93 /include/administration.hpp
parent52effd42917e2dc8bc6b900df145bc13107e1478 (diff)
refactor customer_id and supplier_id out of invoice
Diffstat (limited to 'include/administration.hpp')
-rw-r--r--include/administration.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/administration.hpp b/include/administration.hpp
index 130993f..a91a4e3 100644
--- a/include/administration.hpp
+++ b/include/administration.hpp
@@ -247,9 +247,6 @@ typedef struct
{
char id[MAX_LEN_ID]; // I/[id]
char sequential_number[MAX_LEN_SEQ_NUM]; // INV0000000000 - INV9999999999
- char customer_id[MAX_LEN_ID]; // C/[id]
- char supplier_id[MAX_LEN_ID]; // C/[id]
- contact addressee;
time_t issued_at;
time_t expires_at;
time_t delivered_at;
@@ -272,6 +269,7 @@ typedef struct
contact supplier;
contact customer;
+ contact addressee;
} invoice;
typedef struct