|
|
@if($customer->avatar)

@else
{{ strtoupper(substr($customer->name, 0, 1)) }}
@endif
{{ $customer->name }}
|
{{ $customer->email }} |
{{ $customer->phone ?? 'N/A' }} |
{{ $customer->account_number ?? 'N/A' }} |
{{ ucfirst($customer->status) }}
|
{{ ucfirst($customer->role?->slug ?? 'customer') }} |
{{ $customer->created_at->format('M d, Y') }} |
@if($customer->status === 'active')
@else
@endif
|
@empty