@extends('layouts.admin') @section('title') @lang('Manage Staff') @endsection @section('breadcrumb')

@lang('Manage Staff')

@if(access('add staff')) @lang('Add New Staff') @endif
@endsection @section('content')
@forelse ($staffs as $key => $user) @empty @endforelse
@lang('Sl') @lang('Name') @lang('Email') @lang('Role') @lang('Status') @lang('Action')
{{$key + $staffs->firstItem()}} {{$user->name}} {{$user->email}} {{strtoupper($user->role)}} @if($user->status == 1) @lang('active') @elseif($user->status == 2) @lang('banned') @endif @lang('Details')
@lang('No Data Found')
@if ($staffs->hasPages()) {{ $staffs->links('admin.partials.paginate') }} @endif
@if (access('add staff')) @endif @endsection @push('script') @endpush