first release of comapny-data app
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user