@extends('admin.layouts.app') @section('title', 'Pending Customers') @section('content')

Pending Customers @if ($pendingCount > 0) {{ $pendingCount }} @endif

All customers with inactive / pending status — from website registration or added by admin.

@foreach ($customers as $row) @php $isWebsite = $row->isWebsiteRegistration(); $editUrl = route('admin.customers.edit', $row).($isWebsite ? '?from=registration' : ''); @endphp @endforeach
Photo Customer ID Customer Name Source Executive Name Contact No Email Id Address Register Date Action
{{ $row->CustomerId }} {{ trim($row->Fname.' '.$row->Lname) }} @if ($isWebsite) Website @else Admin @endif {{ trim(($row->executive->Fname ?? '').' '.($row->executive->Lname ?? '')) }} {{ $row->Phone }} {{ $row->EmailId }} {{ $row->Address }} {{ $row->CreatedDate ? $row->CreatedDate->format('d/m/Y') : '' }} Edit / Approve
@endsection @push('scripts') @endpush