diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-27 09:47:26 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-27 09:47:26 +0200 |
| commit | 58edcf619ee9d589dd7b54b8a9cbd4271740c13b (patch) | |
| tree | fccd23132f96eb3f5da3b530b78ad826f534687f /include/administration.hpp | |
| parent | bd3f2b84742067d0b9049b9f42f2266f94dbb0f9 (diff) | |
fix shipping info r/w issue. fix date r/w timezone issue.
Diffstat (limited to 'include/administration.hpp')
| -rw-r--r-- | include/administration.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/administration.hpp b/include/administration.hpp index a91a4e3..ad01193 100644 --- a/include/administration.hpp +++ b/include/administration.hpp @@ -68,6 +68,12 @@ typedef struct char country_code[MAX_LEN_COUNTRY_CODE]; // 2 letter country code } address; +typedef struct +{ + char name[MAX_LEN_LONG_DESC]; + address address; +} delivery_info; + typedef enum { CONTACT_BUSINESS, @@ -269,7 +275,7 @@ typedef struct contact supplier; contact customer; - contact addressee; + delivery_info addressee; } invoice; typedef struct @@ -414,6 +420,7 @@ a_err administration_contact_add(contact data); a_err administration_contact_update(contact data); a_err administration_contact_remove(contact data); +a_err administration_addressee_is_valid(delivery_info data); a_err administration_contact_is_valid(contact data); bool administration_contact_can_be_deleted(contact data); bool administration_contact_equals(contact c1, contact c2); |
