diff options
| author | Nikolaus Gotsche <n@softwarefools.com> | 2019-05-03 01:31:44 +0200 |
|---|---|---|
| committer | Nikolaus Gotsche <n@softwarefools.com> | 2019-05-03 01:31:44 +0200 |
| commit | 8e7dec5dd1b4be5fd752acd6468d0cd801501e1f (patch) | |
| tree | 6cef52e17a16d62afcc63f327da5eba6802c76cc /interact.go | |
| parent | 64b47d83073893b1442fd250005775f25ba4403e (diff) | |
Edit Payments
Diffstat (limited to 'interact.go')
| -rw-r--r-- | interact.go | 12 |
1 files changed, 3 insertions, 9 deletions
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 <id> - Please enter an id")) - */ } c.Println(promptcol("______________________")) }, |
