@extends('admin.layouts.layout') @section('content')

Schedule Details

(Appointment ID: {{ $schedule->appointment_id }}, Status: {{ $schedule->status == 3 ? 'Complete' : 'In Progress' }})

@if($schedule->status >= 3) @endif Print @if($schedule->status < 3) Edit @endif Back to List
@php $imgs = $scheduleImageUrls ?? []; @endphp @if(!empty($imgs)) @if(count($imgs) > 1) @endif @else
No images available
@endif

Services

@if($schedule->services->count())
@foreach($schedule->services as $service) @php($quantity = $service->quantity ?? 1) @endforeach
Service Name Description Quantity Fee
{{ $service->service->service_name ?? 'Unknown Service' }} {{ $service->service->description ?? '—' }} {{ $quantity }} ${{ number_format($service->service_fee ?? ($service->service->fee ?? $service->service->base_fee ?? 0), 2) * $quantity }}
@else
No services added yet.
@endif

Fees Breakdown

Amount

Base Services Total

$ {{ number_format($baseTotal, 2) }}

@if($discounts->count())

Discounts Applied

@foreach($discounts as $discount)
{{ $discount->title }}
-$ {{ number_format($discount->amount, 2) }}
@endforeach
Total Discounts:
-$ {{ number_format($discountSum, 2) }}

@endif @if($additionalFees->count())

Additional Fees

@foreach($additionalFees as $fee)
{{ $fee->title }}
+$ {{ number_format($fee->amount, 2) }}
@endforeach
Total Additional Fees:
+$ {{ number_format($addFeeSum, 2) }}

@endif

Final Total

$ {{ number_format($finalTotal, 2) }}

@if($property && $property->inspection_note)

Inspection Note

{!! nl2br(e($property->inspection_note)) !!}
@endif @if($schedule->invoice_note)

Invoice Note

{!! $schedule->invoice_note !!}
@endif @if($agreements->count())

Agreements

@foreach($agreements as $index => $agreement)

{!! $agreement->description_html !!}
@endforeach
@endif
Loading map...

Inspection Configuration

Insurance Carrier Payment:

{{ ($schedule->insurance_carrier ?? 'no') === 'yes' ? 'Yes' : 'No' }}

Widget Visibility:

{{ ($schedule->widget_visiable ?? 0) == 1 ? 'Yes' : 'No' }}

  • Date/Time

    {{ \App\Helpers\Helper::showDate($summaryData['date_time']) ?: '—' }}

  • Property Details

    {{ $summaryData['property'] }}

  • Customers

    @if(!empty($summaryData['customers'])) {{ implode(', ', $summaryData['customers']) }} @else None @endif

  • Agents

    @if(!empty($summaryData['agents'])) {{ implode(', ', $summaryData['agents']) }} @else None @endif

  • Services

    @if(!empty($summaryData['services'])) {{ implode(', ', $summaryData['services']) }} @else No services added. @endif

  • Inspectors

    @if(!empty($summaryData['inspectors'])) {{ implode(', ', $summaryData['inspectors']) }} @else None @endif

@endsection @push('page_script') @php($placeApiKey = \Config::get('settings.address_auto_populate_key')) @endpush @if($schedule->status >= 3)