Customer Directory & Promotional SMS Portal

Filter customers by purchased products, spending, view active cart items, and send offer SMS alerts.

Reset
@foreach(request()->except(['per_page', 'page']) as $key => $val) @endforeach Total: {{ $customers->total() }} customers
Download PDF
@forelse($customers as $customer) @php $runningOrders = $customer->orders->whereIn('status', ['pending', 'processing', 'shipped'])->count(); $spentVal = $customer->orders->where('status', '!=', 'cancelled')->sum('total_amount'); @endphp
{{ strtoupper(substr($customer->name, 0, 1)) }}
{{ $customer->name }} {{ $customer->email }}
@if($customer->phone) {{ $customer->phone }} @endif
Total Orders {{ $customer->orders->count() }} Orders
Total Spent ৳{{ number_format($spentVal, 0) }}
@if($customer->phone) @endif @if($runningOrders === 0)
@csrf @method('DELETE')
@endif
@empty
No customers found.
@endforelse
{{ $customers->links() }}