@extends('layouts.app') @section('title', ucfirst($type).' User Listing') @section('headSource') @endsection @section('content')

@if($type == 'superadmin') Super Admins @endif @if($type == 'coordinator') Coordinator @endif @if($type == 'executive') Executives @endif @if($type == 'admin') Admins @endif @if($type == 'staff') Staff Members @endif @if($type == 'client') Clients @endif

{{ucfirst($type)}} Users

@if ((Auth::user()->role == 'SuperAdmin' || Auth::user()->role == 'Coordinator') && $type == 'client') Move clients @endif @if ((Auth::user()->role == 'SuperAdmin' && $showAddBtn) || (Auth::user()->role != 'SuperAdmin' && checkPermission('addUser', $type) && $branch && ($type != 'superadmin' || $type != 'coordinator'))) @if(((Auth::user()->role == 'Coordinator' && Auth::user()->id == $branch) && $type == 'client')) @else Add new {{$type}} @endif @endif
Id Sr Name Email Role Status Created At Action
@endsection @section('footerSource') @endsection