NextExpense/internal/handlers
cclohmar 5f5f2be75b feat: event editing — change exchange rate and currency
- Added Edit button on open event cards in dashboard
- EditEvent handler returns dashboard.html with pre-filled form
- UpdateEvent handler (PUT /events/{id}) saves new currency + rate
- UpdateEvent in db.go updates base_currency and exchange_rate
- Form auto-switches between create (POST) and edit (PUT) mode
- Reuses the same conversion sample pattern as event creation
2026-06-03 07:33:37 +00:00
..
auth.go refactor: implement best-practice recommendations from code review 2026-05-31 02:13:07 +00:00
events.go feat: event editing — change exchange rate and currency 2026-06-03 07:33:37 +00:00
expenses.go fix: normalize ImagePath for old database entries with storage/ prefix 2026-06-01 23:30:56 +00:00
file.go refactor: implement best-practice recommendations from code review 2026-05-31 02:13:07 +00:00
helpers.go fix: normalize ImagePath for old database entries with storage/ prefix 2026-06-01 23:30:56 +00:00
templates.go feat: OTP inputs auto-advance to next field when digit is typed 2026-06-02 00:00:57 +00:00