@php use App\Models\warehouse; @endphp @extends('admin.layouts.app') @section('title',get_setting('site_name').' Staff List') @push('css') @endpush @section('content') {{-- Select2 styling handled globally in ui-refresh.css --}}
| # | --}}Employee ID | {{__('Name')}} | {{__('Email')}} | {{__('Phone')}} | {{__('Staff Location')}} | {{__('Designation')}} | {{__('Deactive Reason')}} | {{__('Status')}} | {{__('Options')}} |
|---|---|---|---|---|---|---|---|---|---|
| {{ ($key+1) + ($staffs->currentPage() - 1)*$staffs->perPage() }} | --}}{{$staff->user->id}} | {{$staff->user->name}} | {{$staff->user->email}} | {{$staff->user->phone}} | {{!empty($staff->warehouse)?$staff->warehouse->name:''}} | @if ($staff->designation != null) {{ $staff->designation->name }} @endif | @if(!empty($staff->deactive_reason)) {{ $staff->deactive_reason }} @else — @endif | @if($staff->user_id!=auth()->user()->id) @can('User-approve') @endcan @endif | @can('User-edit') @endcan {{-- @can('User-delete')--}} {{-- --}} {{-- --}} {{-- --}} {{-- @endcan--}} @can('User-list') @endcan |