@if (Auth::user()->affiliate != '1')
@csrf
@endif

User List

@can('user_create')
@if (Auth::user()->issubadmin == '0') Add Client @endif @if (Auth::user()->affiliate != '1') Add Affiliate @endif
@endcan
@foreach ($users as $key => $user) @endforeach
Name Email Password Mobile Affiliate Name Assign Affiliate Action

{{ $user->name ?? '' }}

{{ $user->email ?? '' }}

{{ base64_decode($user->mypass) ?? '' }}

{{ $user->mobile ?? '' }}

Assign
@can('user_edit') @endcan @can('user_delete')
@csrf @method('DELETE')
@endcan