@include('layouts.header')
Users
@foreach($users as $user)
{{ substr($user->name, 0, 1) }}
Name:
{{ $user->name }}
Email:
{{ $user->email }}
Status:
{{ $user->status }}
Role:
{{ $user->role }}
@if($user->status != 'Active')
Activate
@endif @if($user->role == 'User')
Convert to Admin
@else
Convert to User
@endif
Delete
@endforeach
@include('layouts.footer') @include('process.users')