@extends('layouts.admin') @section('title', 'Customer Profile') @section('content') {{-- Header --}}

Customer Profile

{{-- Profile Card --}}

{{ $customer->name }}

{{ $customer->customer_code }}

@if ($customer->status === 'active') Active @else Inactive @endif
{{ $customer->phone }}
@if ($customer->alternate_phone)
{{ $customer->alternate_phone }}
@endif @if ($customer->email)
{{ $customer->email }}
@endif @if ($customer->city || $customer->state)
{{ implode(', ', array_filter([$customer->city, $customer->state])) }}
@endif
{{-- Details --}}
{{-- Address --}}
Address
Full Address {{ $customer->address ?? '—' }}
City {{ $customer->city ?? '—' }}
State {{ $customer->state ?? '—' }}
Pincode {{ $customer->pincode ?? '—' }}
{{-- Documents --}}
Identity Documents
Aadhaar Number @if ($customer->aadhaar_number) {{ substr_replace($customer->aadhaar_number, '****', 4, 4) }} @else @endif
PAN Number {{ $customer->pan_number ?? '—' }}
{{-- Meta --}}
Added By {{ $customer->addedBy?->name ?? '—' }}
Created At {{ $customer->created_at->format('M d, Y') }}
Last Updated {{ $customer->updated_at->format('M d, Y') }}
{{-- Booking History (Module 8 placeholder) --}}
Booking History
{{-- Add Booking (Module 8) --}}

No bookings yet. Booking management will be available in Module 8.

@endsection