@php use Illuminate\Support\Str; @endphp @extends('layouts.back-end.app') @section('title', translate('customer_List')) @section('content')

{{translate('customer_list')}} {{ $totalCustomers }}

{{ translate('reset') }}
{{translate('Customer_list')}} {{ $customers->total() }}
@foreach($customers as $key=>$customer) @endforeach
{{translate('SL')}} {{translate('customer_name')}} {{translate('contact_info')}} {{translate('total_Order')}} {{translate('block')}} / {{translate('unblock')}} {{translate('action')}}
{{$customers->firstItem()+$key}} {{Str::limit($customer['f_name']." ".$customer['l_name'],20)}} {{$customer->phone}} @if($customer['email'] == 'walking@customer.com')
{{ translate('default') }}
@else
@csrf
@endif
@if($customer['id'] != '0') @endif
@csrf @method('delete')
{!! $customers->links() !!}
@if(count($customers)==0) @include('layouts.back-end._empty-state',['text'=>'no_customer_found'],['image'=>'default']) @endif
@endsection @push('script') @endpush