summaryrefslogtreecommitdiff
path: root/fracture
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-08-07 23:20:57 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-08-07 23:20:57 +0200
commitbb072aeeaa15f2db1b8e23fdafc06e5c66b90030 (patch)
treeff5fe5731c645a403e077375b007744db15854df /fracture
parent935690c57824b7422f6b128fb1355f95c8111b86 (diff)
Solve issue with fields in Customer
Diffstat (limited to 'fracture')
-rw-r--r--fracture/invoice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fracture/invoice.py b/fracture/invoice.py
index e56a44f..c03b597 100644
--- a/fracture/invoice.py
+++ b/fracture/invoice.py
@@ -164,8 +164,8 @@ class Invoice:
notes = i["notes"]
type = i["type"]
customer = Customer( i["customer-name"],
- i["customer-address"],
- i["customer-id"] )
+ i["customer-id"],
+ i["customer-address"])
if i["customer-name"] == cls.DEFAULT_CUSTOMER_DESC:
raise ValueError("Customer name not set")