@extends('layouts.app') @section('content')

{{ __('All Customers') }}

@hasPermission('admin.customer.create') {{ __('Add Customer') }} @endhasPermission
@forelse($customers as $key => $customer) @empty @endforelse
{{ __('SL') }}. {{ __('Profile') }} {{ __('Name') }} {{ __('Phone') }} {{ __('Email') }} {{ __('Gender') }} {{ __('Date of Birth') }} {{ __('Action') }}
{{ ++$key }} {{ Str::limit($customer->fullName, 50, '...') }} {{ $customer->phone ?? '--' }} {{ $customer->email ?? '--' }} {{ $customer->gender ?? '--' }} {{ $customer->date_of_birth ?? '--' }}
@hasPermission('admin.customer.edit') edit @endhasPermission @hasPermission('admin.customer.destroy') delete @endhasPermission @hasPermission('admin.customer.reset-password') @endhasPermission
{{ __('No Data Found') }}
{{ $customers->withQueryString()->links() }}
@csrf
@endsection @push('scripts') @endpush