summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/administration.hpp4
-rw-r--r--include/log.hpp1
2 files changed, 2 insertions, 3 deletions
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
diff --git a/include/log.hpp b/include/log.hpp
index 4e3f4f5..cdb6a9f 100644
--- a/include/log.hpp
+++ b/include/log.hpp
@@ -36,6 +36,7 @@ typedef struct {
log* get_log();
+void log_clear();
void log_aerr(a_err errors);
void log_info(const char* fmt, ...) IM_FMTARGS(2);
void log_error(const char* fmt, ...) IM_FMTARGS(2); \ No newline at end of file