@extends('admin.master') @section('content')

All Customers

View, search and manage your customer database

@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
@endif
⌕
@forelse($customers as $customer) @empty @endforelse
Full Name Number Address Email IP Address Orders Block Status Action
{{ $customer->customer_name ?: 'Unknown Customer' }} Guest {{ $customer->customer_phone ?: '—' }}
{{ $customer->address ?: '—' }} @if($customer->district_name || $customer->thana_name)
{{ collect([ $customer->thana_name, $customer->district_name ])->filter()->implode(', ') }}
@endif
{{ $customer->customer_email ?: '—' }} {{ $customer->customer_ip ?: '—' }} {{ number_format($customer->total_orders) }}
@if( ! $customer->phone_blocked && ! $customer->ip_blocked && ! $customer->email_blocked ) Not Blocked @endif @if($customer->phone_blocked) Phone Blocked @endif @if($customer->ip_blocked) IP Blocked @endif @if($customer->email_blocked) Email Blocked @endif
Manage Block
@csrf
👥
No customers found
No customer matched your search.
@if($customers->hasPages())
{{ $customers->links() }}
@endif
@endsection