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

Recycle

Recycle All User

@if(Session::has('restore')) @endif @if(Session::has('delete')) @endif @if(Session::has('error')) @endif
@php $all=App\User::where('status',0)->orderBy('id','DESC')->get(); @endphp @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