@push('styles') @endpush
@if ($is_admin) @endif
@if (!empty($message)) @php $message = json_decode($message); @endphp @php $message = null; @endphp @endif
@if ($is_admin) @endif @php $start = $staffs->firstItem(); @endphp @foreach ($staffs as $staff) @if ($is_admin) @endif @endforeach
# Full Name Email Contact Address PermissionAction
{{ $start + $loop->index }} {{ $staff->name }} {{ $staff->email }} {{ $staff->phone }} {{ $staff->address }} Permission {{-- @if ($staff->permission == 0) @else Permission Assigned @endif --}}
Showing {{ $staffs->firstItem() }} to {{ $staffs->lastItem() }} of {{ $staffs->total() }} results
{{ $staffs->links() }}
@if ($is_admin) @livewire('dashboard.staff.add') @livewire('dashboard.staff.update') @livewire('dashboard.staff.permission') @endif
@push('scripts') @endpush