summaryrefslogtreecommitdiff
path: root/texify.go
diff options
context:
space:
mode:
authorNikolaus Gotsche <n@softwarefools.com>2018-10-26 15:36:21 +0200
committerNikolaus Gotsche <n@softwarefools.com>2018-10-26 15:36:21 +0200
commit3fb09744cc5264fdf3740364a9c6f6f5b64707cc (patch)
treeca3a8a716a163783febd1859fe37f9217331a79e /texify.go
parentd06db7af6014e8498672899218a05adf36ab1aa3 (diff)
Export tested, structs made Public0.3.4
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,