@section('title', 'Customer View') @section('heading', 'Customer Detail')

Customer Details

{{ $customer->first_name ?: 'N/A' }}
{{ $customer->last_name ?: 'N/A' }}
{{ $customer->email ?: 'N/A' }}
{{ $customer->phone ?: 'N/A' }}
{{ $customer->address_line1 ?: 'N/A' }} {{-- residential_address, this is a column in customers table but has no value --}}
{{ optional($customer->partner)->organization_name ?: 'N/A' }}
{{ $customer->referral_source ?: 'N/A' }}