diff --git a/src/TODO.md b/src/TODO.md index 3d4c9d6..1f6ee05 100644 --- a/src/TODO.md +++ b/src/TODO.md @@ -14,6 +14,8 @@ used - [X] The button for deleting share rows isn't working at all unlike the payments - [X] Use shopspring/decimal for money handling - [ ] Rename this file +- [ ] Better UX when adding expenses on the payments and share values (default even split) +- [ ] Verification popups for delete actions ### Stack - Go diff --git a/src/assets/htmx/expense.html b/src/assets/htmx/expense.html index 0a6c118..6f3259b 100644 --- a/src/assets/htmx/expense.html +++ b/src/assets/htmx/expense.html @@ -67,6 +67,14 @@ {{ template "expensePayments" . }} + {{ if eq .method "put" }} +
+ DEBTS + {{ template "expenseDebts" . }} +
+ {{ end }} + +