whisper-money/app/Http/Controllers/Api
Víctor Falcón 1c18166901 refactor(analytics): de-duplicate currency conversion and category-type helpers
The analytics controllers each carried byte-identical copies of
convertTransactionAmount()/preloadExchangeRates() (three copies) and
categoryType() (two copies), which let the analysis and cashflow screens
silently drift apart. Extract the currency helpers into a shared
ConvertsTransactionCurrency trait (following the existing OpenBanking/Concerns
pattern) and move categoryType() onto the Transaction model. No behavior
change.
2026-06-29 20:48:44 +02:00
..
Concerns refactor(analytics): de-duplicate currency conversion and category-type helpers 2026-06-29 20:48:44 +02:00
AccountController.php refactor(api): standardize serialization via model $hidden (#492) 2026-06-05 13:57:34 +02:00
CashflowAnalyticsController.php refactor(analytics): de-duplicate currency conversion and category-type helpers 2026-06-29 20:48:44 +02:00
CategoryMonthlyBreakdownController.php refactor(analytics): de-duplicate currency conversion and category-type helpers 2026-06-29 20:48:44 +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 refactor(analytics): de-duplicate currency conversion and category-type helpers 2026-06-29 20:48:44 +02:00
TransactionController.php refactor(encryption): strip client-side transaction encryption (#514) 2026-06-20 16:13:26 +00:00