From bd3f2b84742067d0b9049b9f42f2266f94dbb0f9 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Fri, 26 Sep 2025 18:41:40 +0200 Subject: refactor customer_id and supplier_id out of invoice --- include/administration.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/administration.hpp') 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 -- cgit v1.2.3-70-g09d2