FULLNAME | ROLE | ACTION | ||
---|---|---|---|---|
{{ $count++ }} | --}}{{ str_replace(',', ' ', $value->name) }} | {!! $value->email !!} | {{ ucfirst($value->role) }} | @if(Auth::user()->id == $value->id) {{-- No Action --}} View Profile @else @if($value->role == 'customer') No Action @elseif(Auth::user()->role == 'editor' || Auth::user()->role == 'admin') @else No Action @endif @endif |