whisper-money/app/Http/Controllers/Api
Víctor Falcón 057e78c3eb refactor(accounts): centralize the "has transaction ledger" rule and stabilize pagination
Follow-up to the backend migration, addressing review feedback.

- Replace the inline non-transactional type list in AccountController@show with
  a purpose-named AccountType::hasTransactionLedger(). This gives the backend a
  single named concept that mirrors the frontend isTransactionalAccount, and its
  docblock spells out why it differs from the existing isNonTransactional()
  (which excludes loan) so a future change won't reach for the wrong method.
- Add an `id` tiebreak to the account_id-filtered index ordering so
  simplePaginate produces a deterministic order for same-day transactions,
  matching AccountController@show.
- Cover the per_page lower clamp and cross-user account scoping with tests.
2026-07-03 16:02:31 +02:00
..
Concerns fix(analysis): respect category types like the cashflow screen (#612) 2026-06-29 21:04:18 +02:00
AccountController.php refactor(api): standardize serialization via model $hidden (#492) 2026-06-05 13:57:34 +02:00
CashflowAnalyticsController.php fix(analysis): respect category types like the cashflow screen (#612) 2026-06-29 21:04:18 +02:00
CategoryMonthlyBreakdownController.php fix(analysis): respect category types like the cashflow screen (#612) 2026-06-29 21:04:18 +02:00
DashboardAnalyticsController.php feat: expand parent categories inline in breakdowns (#486) 2026-06-04 11:19:21 +02:00
ImportDataController.php refactor(api): standardize serialization via model $hidden (#492) 2026-06-05 13:57:34 +02:00
SavedFilterController.php feat(analysis): project-aware transaction analysis (#513) 2026-06-09 15:32:07 +02:00
TransactionAnalysisController.php fix(analysis): respect category types like the cashflow screen (#612) 2026-06-29 21:04:18 +02:00
TransactionController.php refactor(accounts): centralize the "has transaction ledger" rule and stabilize pagination 2026-07-03 16:02:31 +02:00