summaryrefslogtreecommitdiff
path: root/include/administration.hpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@mailbox.org>2026-01-11 12:48:05 +0100
committerAldrik Ramaekers <aldrik@mailbox.org>2026-01-11 12:48:05 +0100
commit08d42688d851eb134da496be721e234f53ff8d0b (patch)
tree5c8a448a42cd8ec4dc35c55edef85f0063b9a50a /include/administration.hpp
parentccbc6a8f0836583fabd59919bd7930d7cfe1473e (diff)
fix warnings
Diffstat (limited to 'include/administration.hpp')
-rw-r--r--include/administration.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/administration.hpp b/include/administration.hpp
index 51e72d8..be3f6c0 100644
--- a/include/administration.hpp
+++ b/include/administration.hpp
@@ -92,7 +92,7 @@ typedef struct
typedef struct
{
char name[MAX_LEN_LONG_DESC];
- address address;
+ address addr;
} delivery_info;
typedef enum
@@ -105,7 +105,7 @@ typedef struct
{
char id[MAX_LEN_ID]; // C/[id]
char name[MAX_LEN_LONG_DESC];
- address address;
+ address addr;
contact_type type;
char taxid[MAX_LEN_TAXID]; // Required for business contact
char businessid[MAX_LEN_BUSINESSID]; // Required for business contact
@@ -264,7 +264,7 @@ typedef struct
char payee_account_name[MAX_LEN_LONG_DESC]; // Name of account where payment is made to.
char service_provider_id[MAX_LEN_LONG_DESC]; // BIC or national clearing code.
char payer_bank_account[MAX_LEN_BANK]; // Sender IBAN or BBAN account.
- payment_method payment_method;
+ payment_method method;
} payment_information;
typedef struct
@@ -293,7 +293,7 @@ typedef struct
time_t issued_at;
time_t expires_at;
time_t delivered_at;
- document document; // path to copy of document for incomming invoice.
+ document orig_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;
@@ -455,9 +455,9 @@ typedef struct
// Service providers.
u32 ai_service_count;
ai_service all_ai_services[MAX_AI_SERVICES];
- ai_service ai_service; // @TODO rename to active_ai_service
+ ai_service active_ai_service;
- email_service email_service;
+ email_service active_email_service;
} ledger;
// Add/Update result codes.