diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-27 11:56:24 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-27 11:56:24 +0200 |
| commit | aa7b5ef6ab4f45d2e8e0caa7942db31fc60b3861 (patch) | |
| tree | fd8268cb72ec6c26ed779127200ae0afb714d0f0 /include/administration.hpp | |
| parent | 94636b871f0272b518dbb38ce0eb75f9e18bea8b (diff) | |
document selector for invoice
Diffstat (limited to 'include/administration.hpp')
| -rw-r--r-- | include/administration.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/administration.hpp b/include/administration.hpp index b3f453e..e926aa6 100644 --- a/include/administration.hpp +++ b/include/administration.hpp @@ -251,12 +251,18 @@ typedef struct typedef struct { + char original_path[MAX_LEN_PATH]; + char copy_path[MAX_LEN_PATH]; +} document; + +typedef struct +{ char id[MAX_LEN_ID]; // I/[id] char sequential_number[MAX_LEN_SEQ_NUM]; // INV0000000000 - INV9999999999 time_t issued_at; time_t expires_at; time_t delivered_at; - char document[MAX_LEN_PATH]; // path to copy of document for incomming invoice. + document document; // path to copy of document for incomming invoice. char project_id[MAX_LEN_ID]; // Optional. char cost_center_id[MAX_LEN_ID]; // For incomming invoices. optional. list_t billing_items; |
