@extends('Admin/layout/master') @section('title', 'User List') @section('content') {{-- Modal --}} {{-- End Modal --}}
User Lists @can('add user')Add New User@endcan
@if (Session::has('msg')) @endif
@foreach ($users as $index=>$user) @if($user->status==1) @else @endif @endforeach
Sr# Name Email Phone Role Status Action
{{ $index+1 }} {{ $user->name }} {{ $user->email }} {{ $user->phone }} {{$user->getRoleNames()->first()}}PublishPending @can('user detail') Detail @endcan @can('edit user') Edit @endcan @can('delete user') @endcan
@endsection @section('scripts') @endsection