first release of comapny-data app

This commit is contained in:
2026-03-31 22:07:11 +02:00
parent c033456bf8
commit 2f34b9b8be
12 changed files with 1434 additions and 10 deletions
+2
View File
@@ -80,8 +80,10 @@ def get_elm_value(tree, name, default=''):
return default
def dump_buyer_info(buyer, invoice_ref, receipt_ref, p_country):
print("dump buyers")
if buyer:
message = f"{p_country},{invoice_ref},{receipt_ref},{buyer.orgid},{buyer.taxID},{buyer.name},{buyer.city},{buyer.street1},{buyer.zip},{buyer.country}\n"
print(message)
with open(BUYERS_BROKEN, "a", encoding="utf-8") as lfile:
lfile.write(message)