From d06db7af6014e8498672899218a05adf36ab1aa3 Mon Sep 17 00:00:00 2001 From: Nikolaus Gotsche Date: Fri, 26 Oct 2018 13:25:45 +0200 Subject: Final Framing and Multichoice beatification --- interact.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'interact.go') diff --git a/interact.go b/interact.go index f61b398..06892ed 100644 --- a/interact.go +++ b/interact.go @@ -213,7 +213,7 @@ func interact(fulldb bool) { } } else { tids := getTaskIds() - selids, lids := getTaskList(tids, false) + selids, lids := GetTaskList(tids, false,false) choice := c.MultiChoice(lids, "Select a Task to Edit") if choice > -1 { deleteTask(selids[choice]) @@ -275,7 +275,7 @@ func interact(fulldb bool) { } } else { tids := getTaskIds() - selids, lids := getTaskList(tids, false) + selids, lids := GetTaskList(tids, false,false) choice := c.MultiChoice(lids, "Select a Task to Edit") //c.Println(tids) //c.Println(selids) @@ -544,7 +544,7 @@ func interact(fulldb bool) { bill can be deleted and a new selection made.`, Func: func(c *ishell.Context) { nix := []int{0} - ids, str := getTaskList(nix, true) + ids, str := GetTaskList(nix, true,true) choices := c.Checklist(str, "Which Tasks should be charged in the new bill ?", nil) @@ -624,7 +624,7 @@ func interact(fulldb bool) { resttasks := GetSelectedTasks(restids) rcount, rhours, _ := AnalyzeTasks(resttasks) - rids, rstr := getTaskList(restids, false) + rids, rstr := GetTaskList(restids, false,false) qu := "Select Tasks to Group as Billitem" restinfo = fmt.Sprintf("%v Tasks Left, Total %.2f(h)\n%s", rcount, rhours, qu) pre := fmt.Sprintf("%s%s%s", fullbillinfo, sep, restinfo) -- cgit v1.2.3