@extends('admin.layouts.layout') {{-- IMPORTANT DEVELOPMENT GUIDELINES FOR SCHEDULE MODALS: 1. URL PATTERNS: - Admin routes use prefix 'schedule/' NOT '/admin/schedule/' - Example: fetch('/schedule/123/property-details') โœ“ - NOT: fetch('/admin/schedule/123/property-details') โœ— 2. MODAL STRUCTURE (Follow property-location modal pattern): - Outer div: class="schedule-modal-overlay" id="uniqueId" - Inner div: class="specific-modal-class" onclick="event.stopPropagation()" - This works with global click handler on line 3109 3. EXISTING WORKING EXAMPLES: - Property Location Modal (lines 3475+) - Schedule Details Modal (lines 2647+) - Reschedule Modal (lines 2984+) 4. COMMON MISTAKES TO AVOID: - Don't add custom click handlers (use global system) - Don't use different overlay class names - Don't forget event.stopPropagation() on inner modal - Don't use /admin/ prefix in fetch URLs --}} @section('content')

    @if($show_tenant_dropdown ?? false) @if($tenant_id) @if(isset($inspectors) && $inspectors->count() > 0) @foreach($inspectors as $inspector)
  • @php $avatarUrl = asset('images/inspector_01.jpg'); // Default if ($inspector->avatar && is_array($inspector->avatar) && isset($inspector->avatar['thumb'])) { $avatarUrl = $inspector->avatar['thumb']; } elseif ($inspector->avatar && is_string($inspector->avatar)) { $avatarUrl = $inspector->avatar; } @endphp {{ $inspector->full_name }} {{ $inspector->full_name }}
  • @endforeach @else
  • No inspectors found for selected tenant
  • @endif @else
  • Select a tenant to view inspectors
  • @endif @else @if(isset($inspectors) && $inspectors->count() > 0) @foreach($inspectors as $inspector)
  • @php $avatarUrl = asset('images/inspector_01.jpg'); // Default if ($inspector->avatar && is_array($inspector->avatar) && isset($inspector->avatar['thumb'])) { $avatarUrl = $inspector->avatar['thumb']; } elseif ($inspector->avatar && is_string($inspector->avatar)) { $avatarUrl = $inspector->avatar; } @endphp {{ $inspector->full_name }} {{ $inspector->full_name }}
  • @endforeach @else
  • No inspectors found
  • @endif @endif

@if($show_tenant_dropdown ?? false) @if($tenant_id) @if(isset($services) && $services->count() > 0) @foreach($services as $service)
@endforeach @else
No services found for selected tenant
@endif @else
Select a tenant to view services
@endif @else @if(isset($services) && $services->count() > 0) @foreach($services as $service)
@endforeach @else
No services found
@endif @endif
@if($show_tenant_dropdown ?? false)
@endif
Employee Time OFF

Calendar {{ \Carbon\Carbon::now()->format('F Y') }}

Previous Previous Month {{ \Carbon\Carbon::now()->format('F Y') }} Next Month Next
  Mon 04 Tue 05 Wed 06 Thu 07 Fri 08 Sat 09 Sun 10
               
8:00 AM
Inspector
Ivan J Miranda

8:00 AM - 9:00 AM

Inspector
Luis Barrera

8:00 AM - 5:00 AM

   
Inspector
Steve Montalvo

8:00 AM - 9:00 AM

   
9:00 AM              
10:00 AM              
11:00 AM
Inspector
Steve Montalvo

11:00 AM - 12:00 PM

Inspector
Luis Barrera

11:00 AM - 12:00 PM

       
Unscheduled

12:00 PM - 1:00 PM

12:00 PM
Inspector
Luis Barrera

12:00 PM - 1:00 PM

           
1:00 PM    
Inspector
Rodrigo Miranda

Time Off

Inspector
Ivan J Miranda

9:00 AM - 9:00 AM

     
2:00 PM              
3:00 PM              
4:00 PM
Inspector
Ivan J Miranda

3:00 PM - 5:00 PM

     
Inspector
Luis Barrera

4:00 PM - 5:00 PM

 
Inspector
Ivan J Miranda

4:00 PM - 5:00 PM

5:00 PM              
@endsection @push('page_script') @php($placeApiKey = \Config::get('settings.address_auto_populate_key')) {{-- Include Schedule Details Modal Component --}} @include('admin.components.schedule-details-modal-script') @endpush