Fix month-browsable expense history
This commit is contained in:
@@ -18,6 +18,13 @@ The system SHALL allow the user to list recorded expenses and delete a specific
|
||||
- **WHEN** the user requests expenses for the app
|
||||
- **THEN** the system returns stored expenses in a stable order with their recorded fields
|
||||
|
||||
### Requirement: User can browse expense history by month
|
||||
The system SHALL allow the user to select a `YYYY-MM` month when reviewing expense history and SHALL return the expenses recorded for that month.
|
||||
|
||||
#### Scenario: Prior month entries are visible
|
||||
- **WHEN** the user selects February 2026 in the add-expense history view
|
||||
- **THEN** the system shows the expenses recorded in February 2026 and exposes delete actions for deletable entries in that month
|
||||
|
||||
#### Scenario: Expense is deleted
|
||||
- **WHEN** the user deletes an existing expense
|
||||
- **THEN** the system removes that expense and it no longer appears in future listings or aggregates
|
||||
|
||||
Reference in New Issue
Block a user