@extends('layouts.admin') @section('content')

Users

All User Information

@foreach($all as $data) @endforeach
Name Phone Username Email User Role Photo Manage
{{$data->name}} {{$data->phone}} {{$data->username}} {{$data->email}} {{$data->userRole->role_name}} @if($data->photo!='') user-photo @else user-photo @endif
@endsection