@php $isSeller = isSeller(); $routePrefix = $isSeller ? 'employee.' : 'admin.employee.'; @endphp {{ __('common.sr-no') }} {{ __('employee.name') }} @include('up-down') {{ __('employee.email') }} @include('up-down') @if ($isSeller == 0) {{ __('employee.store')}} @endif {{ __('employee.employee_group') }} {{ __('employee.seller_user') }}? {{ __('employee.employee_rider') }}? {{ __('common.created-on') }} @include('up-down') {{ __('employee.status') }} {{ __('common.action') }} @php $startIndex = ($data->currentPage() - 1) * $data->perPage() + 1; @endphp @forelse($data as $key => $detail) @php $status = ($detail->status == '1') ? 'checked' : ''; @endphp {{ $startIndex++ }} @if ($detail->failed_attempts >= config('constants.MAX_ALLOWED_ATTEMPTS')) @endif {{ $detail->first_name . ' ' . $detail->last_name}} {!! $detail->email!!} @if ($detail->is_profile_update == 1)      @endif @if ($isSeller == 0) {{ $detail->store_name }} @endif {{$detail->role_name}} {{($detail->is_seller_user == 1) ? 'Yes' : 'No'}} {{($detail->is_employee_rider == 1) ? 'Yes' : 'No'}} {{!empty($detail->created_at) ? dateFormat($detail->created_at, DISPLAY_DATETIME3) : 'N/A'}} | @empty {{__('common.no_records')}} @endforelse @include('pagination', ['data' => $data])