@extends('layouts.tenant.master') @section('title', 'User Menu') @section('css') @endsection @section('style') @endsection @section('breadcrumb-title')

User List

@endsection @section('breadcrumb-items') @endsection @section('content')
@include('partial.message') {{-- Create User Restore User   Refresh --}}
{{-- Export Import --}} {{-- --}}
{{-- --}} @foreach ($users as $key => $user) @if ($user->id !== auth()->user()->id) {{-- --}} @endif @endforeach {{-- --}}
#Type Username First Name Last Name Email Company Name Status Created On Actions
{{ ++$key }} @if (!empty($user->getRoleNames())) @forelse ($user->getRoleNames() as $v) @empty @endforelse @else @endif {{ $user->username ?? 'N/A' }} {{ $user->first_name ?? 'N/A' }} {{ $user->last_name ?? 'N/A' }} {{ $user->company_name ?? 'N/A' }} {{ $user->created_at->format('d-m-Y') ?? 'N/A' }} Show || Edit || Delete
#Type Username First Name Last Name Email Company Name Status Created On Actions
@endsection @section('script') {{-- sweet alert start --}} @if (session('success')) @elseif(session('error')) @endif {{-- sweet alert end --}} @endsection