@section('title', 'Customer')
{{ __('crm.customer_list') }}
{{ __('crm.add_customer') }}

{{ __('seo.date') }}

@if(!empty($customer_list)) @foreach($customer_list as $key=>$customer) @endforeach @endif
{{__('common.sl_no')}} {{__('common.date')}} {{__('crm.customer_name')}} {{__('crm.email')}} {{__('crm.contact')}} {{__('common.status')}} {{__('common.action')}}
{{$key+1}} {{date('d-M-Y', strtotime($customer->created_at ?? ''))}} {{$customer->first_name}} {{$customer->email}} {{$customer->contact}}
status == '1' ? 'checked' : '' }} data-id="{{$customer->customer_id}}" id="customSwitch{{$customer->customer_id}}">
{!! \App\Helper\Helper::make_pagination($total_records,$per_page,$current_page,$total_page,route('sales.customer.index')) !!}
@push('scripts') @endpush