Users Users {{-- Test --}} {{-- Edit Form --}}
@foreach ($users as $user) {{-- {{dd($user->prabhags->toArray())}} --}} @endforeach
Sr No Full Name Email Mobile Prabhag Role Status Registered On Action
{{ $loop->iteration }} {{ $user->name }} {{ $user->email }} {{ $user->mobile }} @foreach ($user->prabhags as $prabhagName) {{ $prabhagName?->prabhag ?? '-' }}
@endforeach
{{ $user->roles->first()?->name ?? '-' }} @if ($user->status) Active @else In-Active @endif {{ \Carbon\Carbon::parse($user->created_at)->format('d-M-Y, h:i A') }}
{{-- Change Password Form --}} {{-- Assign Role Modal --}}
{{-- Add --}}