@if(session('success')) @endif
Users List
@php($s = 1) @foreach($user_data as $user) @endforeach
ID Name Email Role Mobile Number Creation Date Action
{{ $s++ }}
{{ $user->name }}

{{ $user->email }}

@if($user->role == 0) Admin @else Staff @endif {{ $user->phone }} {{ $user->created_at }} @if($user->role == 1) @else @endif
@endsection