{{ $customer->full_name }} Customer #{{ $customer->id }} - {{ ucfirst($customer->status) }} @if($customer->user && $customer->user->isCustomer()) Portal Access @else No Portal @endif
Back to Customers Edit Customer New Service Order
{{ $stats['total_vehicles'] }}
Vehicles
{{ $stats['total_service_orders'] }}
Service Orders
{{ $stats['total_appointments'] }}
Appointments
{{ $stats['active_job_cards'] }}
Active Jobs
{{ $stats['completed_services'] }}
Completed
${{ number_format($stats['total_spent'], 2) }}
Total Spent
Contact Information
Full Name
{{ $customer->full_name }}
@if($customer->secondary_phone) @endif
Address
{{ $customer->formatted_address }}
@if($customer->notes)
Notes
{{ $customer->notes }}
@endif
Customer Portal Access
@if($customer->user && $customer->user->isCustomer())
Customer has portal access
Can login and view service history
User ID
#{{ $customer->user->id }}
Account Status
@if($customer->user->status === 'active') Active @else Inactive @endif
Last Login
{{ $customer->user->last_login_at ? $customer->user->last_login_at->format('M j, Y g:i A') : 'Never' }}
Portal URL: /customer-portal
@else
No portal access
Customer cannot login to view their information
Create Portal Account
@endif
Vehicles ({{ $customer->vehicles->count() }}) Add Vehicle
@forelse($customer->vehicles as $vehicle)
{{ $vehicle->display_name }}
VIN: {{ $vehicle->vin_display }} • {{ number_format($vehicle->mileage) }} miles
{{ $vehicle->color }} • {{ $vehicle->license_plate }}
View Service
@empty
No vehicles registered yet. Add the first vehicle
@endforelse
Service History
@forelse($customer->serviceOrders as $order) @empty @endforelse
Order # Vehicle Date Technician Status Total Actions
{{ $order->order_number }} {{ $order->vehicle->display_name }} {{ $order->created_at->format('M j, Y') }} {{ $order->assignedTechnician?->full_name ?? 'Unassigned' }} {{ ucfirst(str_replace('_', ' ', $order->status)) }} ${{ number_format($order->total_amount, 2) }} View
No service history yet.
Quick Stats
Total Vehicles {{ $customer->vehicles->count() }}
Service Orders {{ $customer->serviceOrders->count() }}
Total Spent ${{ number_format($customer->serviceOrders->sum('total_amount'), 2) }}
Last Service @if($customer->last_service_date) {{ $customer->last_service_date->format('M j, Y') }} @else Never @endif
Customer Since {{ $customer->created_at->format('M j, Y') }}
Upcoming Appointments Schedule
@forelse($customer->appointments->where('scheduled_datetime', '>=', now())->take(3) as $appointment)
{{ $appointment->scheduled_datetime->format('M j, Y g:i A') }}
{{ $appointment->service_requested }}
{{ ucfirst($appointment->status) }}
@empty
No upcoming appointments
@endforelse