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. |
||
|---|---|---|
| .. | ||
| Controllers | ||
| Middleware | ||
| Requests | ||
| Responses | ||