summaryrefslogtreecommitdiff
path: root/texify.go
diff options
context:
space:
mode:
authorNikolaus Gotsche <n@softwarefools.com>2020-11-09 02:49:21 +0100
committerNikolaus Gotsche <n@softwarefools.com>2020-11-09 02:49:21 +0100
commit86c22853ee70e74954c652ba34dd0d499de50e54 (patch)
treee110a6a3ead2882ec768c2d568b81e96d1efbae1 /texify.go
parent1f9dcb69b80d7a7b9211b106bfa130e125545f7c (diff)
UstIDs for Customers and Owner, Tax Rate implemented0.5.0
Diffstat (limited to 'texify.go')
-rw-r--r--texify.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/texify.go b/texify.go
index a3a57f8..b8ae453 100644
--- a/texify.go
+++ b/texify.go
@@ -33,8 +33,11 @@ type Data struct {
CustZip string
CustCity string
CustCountry string
+ CustUid string
TaxID string
+ UID string
+ Ust float64
MyName string
MyStr string
MyZip string
@@ -81,8 +84,11 @@ func billTemplate(billdata bill, cust Customer) Filenames {
cuzip,
cucity,
cucou,
+ cust.Uid,
config.Taxid,
+ config.Uid,
+ billdata.ust,
config.Name,
config.Street,
config.Zip,
@@ -175,7 +181,10 @@ func tmpltest() {
"6996",
"Busenhausen",
"Tittania",
+ "USt:12345",
"6575-6544",
+ "Mei Ust:282828",
+ 20.0,
"Meinam Sauluschtig",
"Saubastrasse 86",
"1111",