@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@if(\Session::has('error'))
{!! \Session::get('error') !!}
@endif
@if(\Session::has('delete'))
{!! \Session::get('delete') !!}
@endif
@if(\Session::has('success'))
{!! \Session::get('success') !!}
@endif
S.No. |
Name |
Email |
Phone |
Id No. |
Staff No. |
Title |
Department |
Region |
Action |
@if(isset($users))
@foreach($users as $user)
{{$loop->iteration}} |
{{$user->name}} |
{{$user->email}} |
{{$user->phone}} |
{{$user->staffDetail->id_number}} |
{{$user->staffDetail->staff_number}} |
{{$user->staffDetail->job_title}} |
{{$user->staffDetail->department}} |
{{$user->staffDetail->region}} |
@if(check_Permission('Production Team', 'edit'))
@endif
@if(check_Permission('Production Team', 'delete'))
@endif
@if($user->active_status === 1)
@if(check_Permission('Production Team', 'set_suspend'))
@endif
@endif
@if($user->active_status === 0)
@if(check_Permission('Production Team', 'set_activate'))
@endif
@endif
|
@endforeach
@endif