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
Generated
+6 -6
View File
@@ -3338,16 +3338,16 @@
},
{
"name": "livewire/livewire",
"version": "v4.2.3",
"version": "v4.2.4",
"source": {
"type": "git",
"url": "https://github.com/livewire/livewire.git",
"reference": "d07bcb6fd04037a90ca5187b7857c7349a8e6d1e"
"reference": "7d0bfa46269b1ec186b8cdd38baffee5cc647d10"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/livewire/livewire/zipball/d07bcb6fd04037a90ca5187b7857c7349a8e6d1e",
"reference": "d07bcb6fd04037a90ca5187b7857c7349a8e6d1e",
"url": "https://api.github.com/repos/livewire/livewire/zipball/7d0bfa46269b1ec186b8cdd38baffee5cc647d10",
"reference": "7d0bfa46269b1ec186b8cdd38baffee5cc647d10",
"shasum": ""
},
"require": {
@@ -3402,7 +3402,7 @@
"description": "A front-end framework for Laravel.",
"support": {
"issues": "https://github.com/livewire/livewire/issues",
"source": "https://github.com/livewire/livewire/tree/v4.2.3"
"source": "https://github.com/livewire/livewire/tree/v4.2.4"
},
"funding": [
{
@@ -3410,7 +3410,7 @@
"type": "github"
}
],
"time": "2026-03-30T22:17:37+00:00"
"time": "2026-04-02T20:48:35+00:00"
},
{
"name": "monolog/monolog",