fix: implementasi FilamentUser interface agar panel bisa diakses di production

- Tambah FilamentUser interface di User model
- Tambah canAccessPanel() method
- Tambah VoteObserver: broadcast notifikasi ke semua user saat vote baru
- Tambah NotificationService::toAll()
- Fix Vote model: auto-fill created_by via booted()
- Fix CashRecordObserver: fallback created_by untuk Vote
This commit is contained in:
2026-04-03 11:31:12 +07:00
parent 0af434568d
commit e2f7d7f10f
20 changed files with 50 additions and 8 deletions
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
View File
View File
Regular → Executable
View File