@extends('backend.layouts.master') @section('main-content')
@include('backend.layouts.notification')
Users List
Add User
@foreach($users as $user) {{-- Delete Modal --}} {{-- --}} @endforeach
S.N. Name Email Photo Join Date Role Status Action
S.N. Name Email Photo Join Date Role Status Action
{{$user->id}} {{$user->name}} {{$user->email}} @if($user->photo) {{$user->photo}} @else avatar.png @endif {{(($user->created_at)? $user->created_at->diffForHumans() : '')}} {{$user->role}} @if($user->status=='active') {{$user->status}} @else {{$user->status}} @endif
@csrf @method('delete')
{{$users->links()}}
@endsection @push('styles') @endpush @push('scripts') @endpush