@include('includes/header') @include('includes/sidebar')

Employess

{{-- @if (Auth::user()->role==1) --}} {{-- @endif --}}
@if (\Session::has('success')) @endif @if (\Session::has('error')) @endif
@php $i = 0; @endphp @foreach($data as $val) @php $i++; @endphp @endforeach
Id Name UserName Phone Number Team Gender Status Action
{{$i}}
@if($val['ImgUrl'] != null) Card image @else {{-- Card image --}} Card image @endif {{$val['FirstName']}} {{$val['LastName']}}
{{$val['UserName']}} {{$val['PhoneNumber']}} {{$val['team_name']}} @if($val['Gender'] == 1) Male @elseif($val['Gender'] == 0) Female @endif @if($val['Status']) Active @else InActive @endif
{{ $data->appends(request()->except('page'))->render('custom_pagination') }}
@include('includes/footer')