{{ $customer->customer_unique_id }}
{{ $customer->username ?? 'N/A' }}
@if($customer->status)
@php
$statusClass = match($customer->status) {
'active' => 'bg-success text-light',
'disable', 'inactive' => 'bg-danger text-light',
'free' => 'bg-info text-light',
default => 'bg-secondary text-light'
};
@endphp
{{ $customer->status }}
@endif
{{ $customer->customer_name }} | {{ $customer->mobile }} |
@foreach ($customer->customerAddress as $address)
{{ $address->input_type_test }},
{{ $address->input_type_dropdown }},
{{ $address->input_type_textarea }}
@endforeach