## Summary Adds a **Notifications** section to the account settings page (`/settings/account`, between Profile information and Update password) where users can opt out of the daily "new transactions synced" email. - New per-user preference `notify_on_bank_transactions_synced` on `user_settings` (defaults to `true`, opt-out). - `SendDailyBankTransactionsSyncedEmailJob` skips users who disabled it. - Single generic `PATCH /settings/notifications` endpoint updates any notification type via a key→column allowlist in `NotificationPreferenceController::PREFERENCES`. Future notifications only need a new entry there — no new route/controller. - Email footer now links back to the settings section so users can manage preferences. ## Testing - `tests/Feature/Settings/NotificationPreferenceTest.php` — update, unknown-key rejection, invalid value, auth, create-when-missing, default-true, inertia prop. - `tests/Feature/OpenBanking/SyncBankingConnectionJobTest.php` — email not sent when disabled. |
||
|---|---|---|
| .. | ||
| .pest | ||
| Browser | ||
| Feature | ||
| Performance | ||
| Unit | ||
| Pest.php | ||
| TestCase.php | ||
| bootstrap.php | ||