whisper-money/app/Http/Requests
Víctor Falcón a6a2a0d58c
fix: Apply automation rule labels on transaction creation and import (#79)
## Summary
- Fixes automation rules not applying labels when creating transactions
manually or via CSV import
- Eager-loads the `labels` relationship on automation rules in both
`TransactionController` and `HandleInertiaRequests`
- Syncs `label_ids` on the transaction `store` endpoint (was accepted
but never persisted)
- Passes `automationRules` prop through the full component chain:
`index.tsx` → `TransactionActionsMenu` → `ImportTransactionsDrawer`, and
`index.tsx` → `EditTransactionDialog`
- Passes `automationRules` as the missing 5th argument to
`reEvaluateAll()`

Closes #61

## Test plan
- [x] Existing feature tests pass (`php artisan test
--filter=Transaction`, `--filter=AutomationRule`)
- [x] Pint, ESLint, and Prettier all pass
- [x] Manually verify: create a transaction matching an automation rule
with labels → labels are applied
- [x] Manually verify: import CSV with transactions matching rules with
labels → labels are applied
- [x] Manually verify: "Re-evaluate All" applies labels from matched
rules
2026-01-27 11:11:29 +01:00
..
Settings fix: Apply automation rule labels on transaction creation and import (#79) 2026-01-27 11:11:29 +01:00
BulkUpdateTransactionsRequest.php fix: Check IDOR vulnerabilities (#60) 2026-01-17 09:58:52 +01:00
SetupEncryptionRequest.php E2E Encryption 2025-11-07 14:21:25 +00:00
StoreAccountBalanceRequest.php fix: Check IDOR vulnerabilities (#60) 2026-01-17 09:58:52 +01:00
StoreBudgetRequest.php Add Budgeting Feature to Track and Manage Spending (#36) 2026-01-21 15:25:50 +01:00
StoreTransactionRequest.php fix: Check IDOR vulnerabilities (#60) 2026-01-17 09:58:52 +01:00
StoreUserLeadRequest.php Merge pull request #1 from whisper-money/landing-page 2025-11-24 12:11:35 +01:00
UpdateBudgetRequest.php Add Budgeting Feature to Track and Manage Spending (#36) 2026-01-21 15:25:50 +01:00
UpdateCurrentAccountBalanceRequest.php Add account balances 2025-11-15 20:27:18 +01:00
UpdateTransactionRequest.php feat: Add label support to single transaction update endpoint (#75) 2026-01-24 17:54:54 +01:00