summaryrefslogtreecommitdiff
path: root/interact.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 /interact.go
parent1f9dcb69b80d7a7b9211b106bfa130e125545f7c (diff)
UstIDs for Customers and Owner, Tax Rate implemented0.5.0
Diffstat (limited to 'interact.go')
-rw-r--r--interact.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/interact.go b/interact.go
index b8e5903..119534f 100644
--- a/interact.go
+++ b/interact.go
@@ -1139,12 +1139,12 @@ func interact(fulldb bool) {
//c.ShowPrompt(true)
}
}
- halfbill := bill{0, "None", dur, proj.Id, proj.Name, time.Time{}, time.Time{}, allitems, 0}
+ halfbill := bill{0, "None", dur, proj.Id, proj.Name, time.Time{}, time.Time{}, allitems, 0, 0}
ShowBill(halfbill,false)
if isInterSure("Is this bill Correct?") {
billid, billident := newBill(billprojid)
//c.Println(green("Bill Completed"))
- fullbill := bill{billid, billident, dur, proj.Id, proj.Name, time.Time{}, time.Time{}, allitems, 0}
+ fullbill := bill{billid, billident, dur, proj.Id, proj.Name, time.Time{}, time.Time{}, allitems, 0, config.Ust}
saveBill(fullbill)
checkTasks(selids, billid)
c.ProgressBar().Indeterminate(true)