Vasyka
f1afcafa5d
fix: duplicate email/phone shows notification instead of crashing
...
Two-layer protection on MasterResource and UserResource:
1. Form validation via ->rules() with Rule::unique() scoped to company_id
(prevents DB hit in normal flow, shows inline field error)
2. handleRecordCreation/handleRecordUpdate catches
UniqueConstraintViolationException as fallback — shows a Filament
danger notification and halts without showing an error page
Also adds phone uniqueness validation (scoped per tenant).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-09-26 20:16:13 +00:00
..
2026-05-07 09:52:01 +00:00
2026-05-06 17:36:32 +00:00
2026-07-16 07:41:35 +00:00
2026-05-07 04:55:33 +00:00
2026-07-15 05:04:24 +00:00
2026-05-06 17:36:32 +00:00
2026-05-07 09:52:01 +00:00
2026-05-06 22:55:50 +00:00
2026-08-06 05:47:07 +00:00
2026-09-07 12:25:19 +00:00
2026-09-11 05:08:53 +00:00
2026-05-06 17:36:32 +00:00
2026-05-07 04:55:33 +00:00
2026-05-07 15:30:04 +00:00
2026-09-26 20:16:13 +00:00
2026-05-07 04:55:33 +00:00
2026-07-15 05:04:24 +00:00
2026-07-16 11:10:09 +00:00
2026-05-06 22:55:50 +00:00
2026-05-07 09:52:01 +00:00
2026-05-07 09:52:01 +00:00
2026-06-06 07:34:27 +00:00
2026-05-28 05:40:27 +00:00
2026-07-16 20:52:06 +00:00
2026-06-04 22:03:03 +00:00
2026-07-26 10:54:00 +00:00
2026-07-16 07:41:35 +00:00
2026-05-28 06:43:15 +00:00
2026-05-28 06:43:15 +00:00
2026-05-06 21:58:30 +00:00
2026-07-16 07:41:35 +00:00
2026-07-16 20:52:06 +00:00
2026-09-26 20:16:13 +00:00
2026-07-15 05:04:24 +00:00
2026-05-27 19:29:19 +00:00
2026-09-11 04:48:15 +00:00
2026-07-15 06:17:10 +00:00
2026-08-10 19:04:54 +00:00
2026-08-10 19:29:03 +00:00
2026-07-16 07:41:35 +00:00
2026-08-10 19:29:03 +00:00
2026-07-16 06:42:16 +00:00
2026-07-15 06:17:10 +00:00
2026-07-16 07:41:35 +00:00
2026-08-06 05:47:07 +00:00
2026-09-07 12:46:03 +00:00
2026-09-11 04:48:15 +00:00
2026-07-16 06:42:16 +00:00
2026-07-15 06:17:10 +00:00
2026-07-16 20:55:13 +00:00
2026-09-26 20:16:13 +00:00
2026-07-16 07:41:35 +00:00
2026-07-16 07:41:35 +00:00
2026-07-16 20:52:06 +00:00
2026-07-17 06:36:49 +00:00
2026-07-16 07:41:35 +00:00
2026-07-17 07:01:42 +00:00
2026-07-15 06:17:10 +00:00
2026-07-16 20:59:33 +00:00
2026-07-16 07:41:35 +00:00
2026-07-18 11:20:44 +00:00
2026-07-16 06:42:16 +00:00
2026-07-15 05:04:24 +00:00
2026-08-10 19:29:03 +00:00
2026-08-10 19:29:03 +00:00
2026-07-15 06:17:10 +00:00
2026-08-10 19:29:03 +00:00
2026-07-16 20:52:06 +00:00
2026-09-26 20:16:13 +00:00
2026-08-10 19:29:03 +00:00
2026-07-15 06:17:10 +00:00
2026-09-11 04:52:03 +00:00