From 86c22853ee70e74954c652ba34dd0d499de50e54 Mon Sep 17 00:00:00 2001 From: Nikolaus Gotsche Date: Mon, 9 Nov 2020 02:49:21 +0100 Subject: UstIDs for Customers and Owner, Tax Rate implemented --- interact.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interact.go') 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) -- cgit v1.2.3