summaryrefslogtreecommitdiff
path: root/src/administration_reader.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@mailbox.org>2025-12-28 14:46:44 +0100
committerAldrik Ramaekers <aldrik@mailbox.org>2025-12-28 14:46:44 +0100
commitbe5c11029adb25c586c4fcde6fedfa01d1bdcd49 (patch)
tree251f196c59f5ce2625058c5788e2107059f642ef /src/administration_reader.cpp
parent7c3a271feea4b3693bf93a47924f7c682585e179 (diff)
email send backend
Diffstat (limited to 'src/administration_reader.cpp')
-rw-r--r--src/administration_reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/administration_reader.cpp b/src/administration_reader.cpp
index 7528711..d790b91 100644
--- a/src/administration_reader.cpp
+++ b/src/administration_reader.cpp
@@ -182,7 +182,7 @@ bool administration_reader::read_invoice_from_xml(invoice* result, char* buffer,
char customer_endpoint_id[50];
xml_get_str_x(root, customer_endpoint_id, 50, "cac:AccountingCustomerParty", "cac:Party", "cbc:EndpointID", 0);
if (strops::equals(customer_endpoint_id, "[CONSUMER]")) data.customer.type = contact_type::CONTACT_CONSUMER;
-
+
// Addressee
xml_get_str_x(root, data.addressee.name, MAX_LEN_LONG_DESC, "cac:Delivery", "cac:DeliveryParty", "cac:PartyName", "cbc:Name", 0);
xml_get_str_x(root, data.addressee.address.address1, MAX_LEN_ADDRESS, "cac:Delivery", "cac:DeliveryLocation", "cac:Address", "cbc:StreetName", 0);