@extends('admin.layouts.app') @section('title', 'Missing Location & Place Requests') @section('page-title', 'Missing Location & Place Requests') @section('content') {{-- ============ HEADER ============ --}}

📍 Missing Location & Place Requests

लेखकों द्वारा अनुरोधित नए नगर, राज्य व तीर्थ स्थल। 1-क्लिक अनुमोदन से यह स्वतः डायरेक्टरी व ड्रापडाउन में सक्रिय हो जाएँगे।

🌍 Global Locations 🛕 Places & Sthals ✍️ Devotee Articles
{{-- Flash Alerts --}} @if(session('success'))
{{ session('success') }}
@endif @if(session('info'))
{{ session('info') }}
@endif @if(session('error'))
{{ session('error') }}
@endif {{-- ============ KPI STATS ============ --}} @php $activeStatus = $status ?? 'all'; @endphp
📋
Total Requests {{ number_format($counts['total'] ?? 0) }} All Submissions
⏳
Pending Review {{ number_format($counts['pending'] ?? 0) }} Needs Approval
🟢
Approved & Added {{ number_format($counts['approved'] ?? 0) }} Active in Database
🚫
Rejected {{ number_format($counts['rejected'] ?? 0) }} Duplicate / Invalid
{{-- ============ ALPINE ROOT & BULK MANAGER ============ --}}
{{-- ============ TOOLBAR ============ --}}
@if($search || $activeStatus !== 'all') Reset @endif
{{-- ============ FLOATING BULK BAR ============ --}}
Selected: requests
@csrf
{{-- ============ TABLE ============ --}}
@forelse($requests as $req) @php $rowNo = ($requests->currentPage() - 1) * $requests->perPage() + $loop->iteration; @endphp @empty @endforelse
# Requested Location Hierarchy Spiritual Significance / Devotee Note Requested By Status Actions
{{ $rowNo }}
🏙️ {{ $req->city_name }} @if($req->place_name) → 🛕 {{ $req->place_name }} @endif
📍 State: {{ $req->state_name }} • Country: {{ $req->country?->name ?? 'India' }}
@if($req->significance_note)
"{{ $req->significance_note }}"
@else No note provided @endif @if($req->admin_notes)
Admin: {{ $req->admin_notes }}
@endif
{{ $req->user?->name ?? 'Devotee' }}
{{ $req->user?->handle ?? '@user' . $req->user_id }}
📅 {{ $req->created_at->format('d M Y, h:i A') }}
@if($req->status === 'approved') Approved @elseif($req->status === 'pending') Pending Review @else Rejected @endif
@if($req->status !== 'approved')
@csrf
@endif @if($req->status !== 'rejected')
@csrf
@endif
@csrf @method('DELETE')
📍

No location requests found

When authors request new sacred cities or temples from the studio, they will appear here.

{{-- ============ PAGER ============ --}} @if($requests->hasPages())
Showing {{ $requests->firstItem() ?? 0 }} to {{ $requests->lastItem() ?? 0 }} of {{ $requests->total() }} requests
{{ $requests->links() }}
@endif
@endsection