@extends('layouts.app') @section('title', 'User Management - Tiqkets') @section('page-title', 'User Management') @section('header-action') @endsection @section('content')
@forelse ($users as $user) @empty @endforelse
S. No. Name Email Phone Role Branch ID Branch Status Actions
{{ $loop->iteration + ($users->currentPage() - 1) * $users->perPage() }}
{{ $user->name }}
{{ $user->email }} {{ $user->phone ?? '-' }} {{ $user->getRoleName() }} {{ $user->branch->branch_code ?? '-' }} {{ $user->branch->branch_name ?? '-' }} {{ ucfirst($user->status) }}
No Users Found

Create your first user to get started.

{{-- Pagination --}} {{-- Pagination --}} @if ($users->total() > 0)
Showing {{ $users->firstItem() }} to {{ $users->lastItem() }} of {{ $users->total() }} entries
@if ($users->hasPages()) @else {{-- Spacer when pagination controls aren't needed --}}
@endif
@endif
{{-- User Modal --}} @endsection @push('styles') @endpush @push('scripts') @endpush