@extends('backEnd.master') @section('mainContent') @if ($errors->any())
@endif

{{ __('hr.staff_list') }}

@if(permissionCheck('staffs.store')) @endif
@foreach($staffs as $key => $staff) @if ($staff->user != null) @endif @endforeach
{{ __('common.sl') }} {{ __('common.name') }} {{ __('common.email') }} {{ __('common.phone') }} {{ __('hr.role') }} {{ __('common.status') }} {{ __('hr.department') }} {{ __('common.registered_date') }} {{ __('common.action') }}
{{ getNumberTranslate($key+1) }} {{ucwords( @$staff->user->getFullNameAttribute() ) }} {{ @$staff->user->email }} {{ @getNumberTranslate($staff->phone) }} {{ @$staff->user->role->name }} @if (@$staff->user->role_id != 1) @endif {{ @$staff->department->name }} {{ dateConvert($staff->created_at) }}
@include('backEnd.partials.delete_modal') @endsection @push('scripts') @endpush