@extends('portal.layouts.app') @section('title', 'Customers') @section('subtitle', number_format($customers->total()).' BankIslami accountholders on the journey') @section('content')
Reset

CNIC, mobile and account numbers are encrypted at rest — searching uses a keyed blind index, so an exact value is required.

@forelse ($customers as $customer) @empty @endforelse
Customer CNIC Mobile Branch Plans Status Last seen
{{ $customer->full_name }} {{ $customer->bank_customer_id ?? $customer->uuid }} {{ $customer->maskedCnic() ?? '-' }} {{ $customer->maskedMobile() ?? '-' }} {{ $customer->branch_name ?? '-' }} {{ $customer->active_subscriptions_count }} / {{ $customer->subscriptions_count }} {{ str($customer->status)->headline() }} {{ $customer->last_seen_at?->diffForHumans(short: true) ?? '-' }}
No customers match this search.
@if ($customers->hasPages())
{{ $customers->links() }}
@endif
@endsection