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