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

Blocked Customers

Manage blocked phone numbers, IP addresses and emails

↻ Refresh ↻ Reset
Show: per page @if($search) @endif @if($type) @endif
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
@endif
🛡

{{ number_format($totalBlocked) }}

Total Blocked

{{ number_format($phoneOnly) }}

Phone Only

{{ number_format($ipOnly) }}

IP Only

🔐

{{ number_format($bothBlocked) }}

Both Blocked

☷  Blocked Items List
@if($blocks->count())
@foreach($blocks as $block) @endforeach
ID Block Type Blocked Value Reason Blocked By Blocked At Expires At Action
#{{ $block->id }} @if($block->type === 'phone') ☎ Phone @elseif($block->type === 'ip') ◎ IP Address @else ✉ Email @endif {{ $block->value }} {{ \Illuminate\Support\Str::limit( $block->reason ?: 'No reason provided', 80 ) }} {{ $block->blockedBy?->name ?? 'System/Admin' }} {{ $block->created_at?->format('d M Y, h:i A') }} @if($block->expires_at) {{ $block->expires_at->format('d M Y, h:i A') }} @else Never @endif
@csrf @method('PATCH')
@if($blocks->hasPages())
{{ $blocks->links() }}
@endif @else
No blocked items found
There are currently no blocked phone numbers, IP addresses or email addresses.
@endif
@endsection