| Action |
Name |
Phone No |
Phone No 2 |
Address |
Return Count |
Label |
@foreach ($customers as $customer)
|
|
@if (!empty($customer->name))
{{ $customer->name }}
@endif
|
{{ $customer->mobile }} |
@if (!empty($customer->mobile_2))
{{ $customer->mobile_2 }}
@else
N/A
@endif
|
@php
$address = $customer->landmark;
@endphp
@if(!empty($address))
{{ $address }}
@else
No Address Available
@endif
|
{{ $customer->saleReturn->count() }}
|
@php
$status = $customer->is_default;
if($status == 0){
$label = 'Not Banned';
} else if($status == 1){
$label = 'Risk Customer';
} else if($status == 2) {
$label = 'Banned';
}
@endphp
{!! $label !!}
|
@endforeach
{{ $customers->appends($_GET)->links() }}
Total Count
{{ $count }}