Danh sách tài khoản

@if ($logged_user->user->role_id == 1) Thêm mới @endif
@if($search) @endif
{{-- Hiển thị thông báo tìm kiếm --}} {{-- @if ($search) @if ($count > 0)
Tìm thấy {{ $count }} người dùng có từ khóa "{{ $search }}"
@else
Không tìm thấy người dùng có từ khóa "{{ $search }}"
@endif @endif --}} @if ($search) @if ($count > 0)
{{ $resultMessage }}
@else
{{ $resultMessage }}
@endif @endif
{{-- --}} @if ($logged_user->user->role_id == 1) @endif @foreach($employees as $idx => $employee) {{-- --}} @if ($logged_user->user->role_id == 1) @endif @endforeach
STT Tên người dùngTên tài khoảnẢnh đại diện Email Vai trò Trạng tháiChức năng
{{ $employees->firstItem() + $idx }} {{ $employee->full_name }}{{ $employee->username }} Hình ảnh nhân viên {{ $employee->email }} {{ $employee->description }} @if($employee->status == 'active') Đang kích hoạt @else Ngừng kích hoạt @endif
@csrf @method('DELETE')