feat(analysis): default outlet

This commit is contained in:
Yoga Pangestu 2025-12-01 19:52:01 +07:00
parent 7f7d597116
commit 67c060476d

View File

@ -54,6 +54,8 @@ public function mount()
{ {
$this->outlets = auth()->user()->outlets()->get()->pluck('name', 'id')->toArray(); $this->outlets = auth()->user()->outlets()->get()->pluck('name', 'id')->toArray();
$this->selectedOutletIds = auth()->user()->outlets()->pluck('outlets.id')->toArray();
$this->loadData(); $this->loadData();
} }