@if (!empty($staffs) && $staff->count())
@foreach ($staffs as $key => $staff)
{{ $staff->user_no }} |
@if ($staff->image == null)
@else
@endif
{{ $staff->name }}
{{ $staff->email ?? '-' }}
|
{{ $staff->phone ?? '-' }}
|
{{ $staff->roles()->first()->name ?? '-' }}
|
@if ($staff->status === null)
Pending Verification
@elseif ($staff->status === 0)
Inactive
@else
Active
@endif
|
@can('customer_edit')
|
@endcan
@endforeach
@else
No matching records found |
@endif