@extends('layouts.main-layout') @section('title') All Users | Dashboard @endsection @section('content')

Manage Users

@foreach($users as $i => $user) @endforeach
# User Id Username User Type Mobile No Email Id Create Date Actions
{{$i + $users->firstItem()}} {{$user->UserId}} {{$user->UserName}} {{$user->userType->UserTypeName}} {{$user->MobileNo}} {{$user->EmailId}} {{$user->CreateDate}} @hasAccess('Edit User') @endhasAccess @hasAccess('Delete User')
@csrf @method('DELETE')
{{-- @component('components.confirm',[ 'modal' => 'modal-'.$user->UserId, 'id' => 'delete-form-'.$user->UserId, 'title' => 'User' ]) @endcomponent --}} {{-- href="#modal-{{$user->UserId}}"--}} @endhasAccess
{{-- {{$users->appends(request()->query())->links('vendor.pagination.default')}} --}} {{$users->links()}}
@endsection