@extends('layouts.app') @section('content') @if(session('success'))
| # | Name | Role | Admin | Department / Section | Registered | Action | |
|---|---|---|---|---|---|---|---|
| {{ $key+1 }} | {{ $user->name }} | {{ $user->email }} | @if($user->role=="admin") Admin @elseif($user->role=="coordinator") Coordinator @elseif($user->role=="department") Department @else Operator @endif | @if($user->is_admin==1) YES @else NO @endif | @if($user->complaintAgainst) {{ $user->complaintAgainst->name }} @else N/A @endif | {{ $user->created_at ? $user->created_at->format('d M Y') : '-' }} | @if(auth()->user()->is_admin==1) @if($user->id != 1) @else Protected Admin @endif @else No Permission @endif |
| No users found. | |||||||