@extends('backend.layouts.app') @section('backend_title', 'Admin Brand List') @section('backend_content')
| Sl No. | Name | Role | Account Create | @if (Auth::user()->user_type == 'superadmin')Referral Code | @endifStatus | Action | |
|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} |
{{ $user->name }}
|
{{ $user->email }}
|
@foreach ($user->roles as $role) {{ $role->name }} @endforeach | {{ optional($user->created_at)->diffForHumans() ?? 'Date not available' }} | @if (Auth::user()->user_type != null){{ $user->referral_code }} | @endif
@if ($user->status == 'active')
Active
@else
Inactive
@endif
|
@can('edit user') Edit @endcan @can('delete user') @endcan |
| Nothing Found. | |||||||