@if (Auth::user()->type == config('Constants.USER_TYPE_SUPER_ADMIN'))
Add
New Admin User
@endif
| Created Date | Name | Type | Action | @endif||||
|---|---|---|---|---|---|---|---|
| {{ format_date($row->created_at, 'date') }} | {{ $row->name }} | {{ $row->email }} | @if (Auth::user()->type == config('Constants.USER_TYPE_SUPER_ADMIN'))@if ($row->type == config('Constants.USER_TYPE_SUPER_ADMIN')) Super Admin @endif @if ($row->type == config('Constants.USER_TYPE_NORMAL_ADMIN')) Normal Admin @endif @if ($row->type == config('Constants.USER_TYPE_REPS_ADMIN')) Reps @endif | Edit Delete User | @endif|||
| No record found! | |||||||