From 8e7dec5dd1b4be5fd752acd6468d0cd801501e1f Mon Sep 17 00:00:00 2001 From: Nikolaus Gotsche Date: Fri, 3 May 2019 01:31:44 +0200 Subject: Edit Payments --- interact.go | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'interact.go') diff --git a/interact.go b/interact.go index 44f8971..a03a672 100644 --- a/interact.go +++ b/interact.go @@ -403,17 +403,11 @@ func interact(fulldb bool) { c.Println(boldRed(arg, "is not a valid id!")) } } else { - /* pids := GetProjectIds() - selids, lids := getProjectList(pids) - choice := c.MultiChoice(lids, "Select a Project to Edit") - //c.Println(pids) - //c.Println(selids) + selids, lids := GetPaymentList() + choice := c.MultiChoice(lids, "Select a Payment to Edit") if choice > -1 { - editProject(selids[choice]) - //c.Println(choice,selids[choice]) + EditPayment(selids[choice]) } - //c.Println(boldRed("editproject - Please enter an id")) - */ } c.Println(promptcol("______________________")) }, -- cgit v1.2.3