Commit Graph

2 Commits

Author SHA1 Message Date
e8c23405e7 Add expense editing with inline form and PATCH API route
- Add updateExpense() to lib/expenses.ts
- Add PATCH /expenses/:id route with validation and P2025 not-found handling
- Edit button on each expense card pre-fills form; cancel restores add mode
- Submit dynamically PATCHes or POSTs depending on edit state

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 17:20:13 -04:00
905af75cd8 Implement expense tracking foundation for v1 2026-03-23 12:32:36 -04:00