@php // Initialize variables - will be populated by Alpine.js/Livewire $registered = null; $depositors = null; $selectedUserIds = []; $users = collect([]); // Try to get initial state from Livewire if available try { if (isset($this) && method_exists($this, 'form')) { $formState = $this->form->getState(); $registered = $formState['registered'] ?? null; $depositors = $formState['depositors'] ?? null; $selectedUserIds = $formState['filter_selected_user_ids'] ?? []; if (is_string($selectedUserIds)) { $selectedUserIds = json_decode($selectedUserIds, true) ?: []; } if (!is_array($selectedUserIds)) { $selectedUserIds = []; } // Initial users will be fetched by Alpine.js // No need to fetch here as Alpine.js will handle it } } catch (\Exception $e) { // Will be handled by Alpine.js } @endphp
|
|
ID | Name | Registered Date | |
|---|---|---|---|---|
|
Loading users... |
||||
|
|
|
|
|
|
|
No users found matching the selected filters. |
||||