From aa7b5ef6ab4f45d2e8e0caa7942db31fc60b3861 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 27 Sep 2025 11:56:24 +0200 Subject: document selector for invoice --- include/administration.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/administration.hpp') diff --git a/include/administration.hpp b/include/administration.hpp index b3f453e..e926aa6 100644 --- a/include/administration.hpp +++ b/include/administration.hpp @@ -249,6 +249,12 @@ typedef struct float allowance; } tax_subtotal; +typedef struct +{ + char original_path[MAX_LEN_PATH]; + char copy_path[MAX_LEN_PATH]; +} document; + typedef struct { char id[MAX_LEN_ID]; // I/[id] @@ -256,7 +262,7 @@ typedef struct 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; -- cgit v1.2.3-70-g09d2