| Name @if ($currentSort === 'full_name' || $currentSort === 'registered_company_name') @else @endif | Customer Type @if ($currentSort === 'customer_type') @else @endif | Client @if ($currentSort === 'client') @else @endif | Product @if ($currentSort === 'product_name') @else @endif | Added on @if ($currentSort === 'created_at') @else @endif | Action @if ($currentSort === 'action') @else @endif |
|---|---|---|---|---|---|
| {{ $customer->full_name ? $customer->full_name : $customer->registered_company_name ?? 'N/A' }} | {{ $customer->customer_type ?? 'N/A' }} | {{ $customer->kuaClient->name ?? 'N/A' }} | {{ $customer->kuaProduct->product_name ?? 'N/A' }} | {{ \Carbon\Carbon::parse($customer->created_at)->format('d M Y') ?? 'N/A' }} | visibility edit |