{{ session('success') }}
@endif
{{ $customer->full_name }}
@if ($customer->company_name){{ $customer->company_name }}
@endifContact Information
- Phone
- {{ $customer->phone ?: 'N/A' }}
- {{ $customer->email ?: 'N/A' }}
- Username
- {{ $customer->user->username }}
Service Location
@if ($customer->primaryLocation)- Address
- {{ $customer->primaryLocation->service_address }}
- City, State ZIP
- {{ $customer->primaryLocation->service_city }}, {{ $customer->primaryLocation->service_state }} {{ $customer->primaryLocation->service_zip }}
No service location on file.
@endifNotes
{{ $customer->notes ?: 'No notes.' }}
Equipment ({{ $customer->equipment->count() }})
@if ($customer->equipment->isEmpty())
No equipment on file.
@else
@foreach ($customer->equipment->take(5) as $equip)
@endforeach
@endif
{{ $equip->type->type_name ?? 'Unknown' }}
{{ $equip->model ?: 'No model' }}
@if ($equip->next_service_due)
Due: {{ $equip->next_service_due->format('M d, Y') }}
@endifRecent Appointments ({{ $customer->appointments->count() }})
@if ($customer->appointments->isEmpty())
No appointments on file.
@else
@foreach ($customer->appointments->take(5) as $appointment)
{{ ucfirst($appointment->status) }}
@endforeach
@endif
{{ $appointment->serviceType->name ?? 'Unknown' }}
{{ $appointment->requested_date->format('M d, Y') }}
Invoices ({{ $customer->invoices->count() }})
@if ($customer->invoices->isEmpty())
No invoices on file.
@else
@foreach ($customer->invoices->take(5) as $invoice)
@endforeach
@endif
{{ $invoice->invoice_number }}
{{ $invoice->issue_date->format('M d, Y') }}
${{ number_format($invoice->total, 2) }}
{{ ucfirst($invoice->status) }}Contracts ({{ $customer->contracts->count() }})
@if ($customer->contracts->isEmpty())
No contracts on file.
@else
@foreach ($customer->contracts->take(5) as $contract)
{{ ucfirst($contract->status) }}
@endforeach
@endif
{{ $contract->name }}
{{ $contract->contract_number }}