summaryrefslogtreecommitdiff
path: root/texify.go
diff options
context:
space:
mode:
Diffstat (limited to 'texify.go')
-rw-r--r--texify.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/texify.go b/texify.go
index ffa0fba..99a7261 100644
--- a/texify.go
+++ b/texify.go
@@ -52,10 +52,10 @@ type Data struct {
Bic string
}
-func billTemplate(billdata bill, cust customer) Filenames {
+func billTemplate(billdata bill, cust Customer) Filenames {
billid := billdata.id
custr, cuzip, cucity, cucou := "", "", "", ""
- addr := String2StringArray(cust.address, ";")
+ addr := String2StringArray(cust.Address, ";")
for i, a := range addr {
switch i {
case 0:
@@ -75,8 +75,8 @@ func billTemplate(billdata bill, cust customer) Filenames {
billdata.identity,
billdata.projectname,
- cust.company,
- cust.name,
+ cust.Company,
+ cust.Name,
custr,
cuzip,
cucity,