@extends('backend.layouts.main') @section('content')

{{$subtitle}}

{{ Breadcrumbs::render('backend.staff.index') }}
@if(auth()->guard('backend')->user()->can('staff.add')) @endif
@include('backend.partials.msg')
@forelse($users as $key => $user) {{-- --}} @empty @endforelse
MS SĐT Họ tên Chức vụ Trạng thái Ngày tạo Tùy chọn
{{++$start}}{{$user->id}} {{$user->phone}} {{$user->fullname?$user->fullname:'Chưa cập nhật'}} @foreach($account_position as $st) @if($st['id']==$user->account_position) {{$st['name']}} @break @endif @endforeach {!! $user->status != \App\Models\CoreUsers::STATUS_BANNED ? 'đang hoạt động' : 'đã bị cấm' !!} {{$user->created_at}} @if(Auth()->guard('backend')->user()->id != $user->id) @if(auth()->guard('backend')->user()->can('staff.edit')) Cập nhật @endif @if(auth()->guard('backend')->user()->can('staff.delete')) Xóa @endif @endif
-
{{--pagination--}}
{{ $users->links() }}
@endsection