@extends('layouts.app') @section('title', 'User Management - Tiqkets') @section('page-title', 'User Management') @section('header-action')
@endsection @section('content')
@if ($users->count() > 0)
@foreach ($users as $user) @endforeach
Name Email Phone Role Outlet
{{ $user->name }}
{{ $user->email }}
{{ $user->phone }}
{{ $user->roles->role_name }}
{{ $user->outlet->name ?? ($user->outlet->outlet_name ?? 'N/A') }}
{{-- --}}
@if ($users->hasPages())
{{ $users->links('pagination::bootstrap-5') }}
@endif @else
No Users Found

No users have been created yet.

@endif
@endsection @push('styles') @endpush @push('scripts') @endpush