@extends('admin.layouts.app') @section('title', 'Devotee Darshan Experiences & Reviews') @section('content')
{{-- Page Header --}}
Pilgrim Community & Memoirs

Darshan Experiences & Reviews {{ $counts['total'] }} Total

Moderation queue for pilgrim memoirs, darshan crowd ratings, sacred site memories, and authentic devotee feedback.

Sanctity Moderated
{{-- Alerts --}} @if(session('success'))
{{ session('success') }}
@endif @if(session('info'))
{{ session('info') }}
@endif {{-- KPI Cards --}} @php $activeStatus = $status ?? 'all'; @endphp
All Memoirs
{{ number_format($counts['total']) }}
Submitted by pilgrims
Pending
{{ number_format($counts['pending']) }}
Needs moderation
Approved
{{ number_format($counts['approved']) }}
Visible publicly
Rejected / Spam
{{ number_format($counts['rejected']) }}
Hidden from public
{{-- Filter Toolbar --}}
{{-- Search Input --}}
{{-- Status Filter --}}
{{-- Per Page & Submit --}}
@if(request()->hasAny(['q', 'status', 'per_page'])) @endif
{{-- Bulk Action Form --}}
@csrf
{{-- Floating Bulk Actions Bar --}}
Selected
{{-- Table Card --}}
@forelse($experiences as $exp) {{-- Devotee --}} {{-- Target Entity --}} {{-- Experience & Rating --}} {{-- Crowd & Slot --}} {{-- Status Pill --}} {{-- Actions --}} @empty @endforelse
Devotee (Author) Sthal / Sacred Site Experience & Rating Crowd & Slot Status Moderation Actions
{{ $exp->author_name }}
{{ $exp->author_city ?: 'City not specified' }} @if($exp->author_email) • {{ $exp->author_email }} @endif
{{ $exp->created_at->format('d M Y, h:i A') }}
@if($exp->experienceable)
{{ $exp->experienceable->name_hi ?: $exp->experienceable->name }}
{{ class_basename($exp->experienceable_type) }}
@else Target entity removed @endif
@for($i = 1; $i <= 5; $i++) @endfor ({{ $exp->rating }}/5) @if($exp->is_featured) Featured @endif
{{ $exp->title }}

{{ $exp->experience_text }}

@if(!empty($exp->photos) && is_array($exp->photos))
@foreach(array_slice($exp->photos, 0, 3) as $photo) Photo @endforeach @if(count($exp->photos) > 3) +{{ count($exp->photos) - 3 }} @endif
@endif
@if($exp->crowd_level)
{{ ucfirst($exp->crowd_level) }} Crowd
@endif @if($exp->darshan_slot)
{{ ucfirst($exp->darshan_slot) }}
@endif
@if($exp->status === 'approved') Approved @elseif($exp->status === 'pending') Pending @else Rejected @endif
{{-- Feature toggle --}}
@csrf
{{-- Approve --}} @if($exp->status !== 'approved')
@csrf
@endif {{-- Reject --}} @if($exp->status !== 'rejected')
@csrf
@endif {{-- Delete --}}
@csrf @method('DELETE')
No experiences found

No devotee memoirs matched your current filter criteria.

{{-- Pagination --}} @if(method_exists($experiences, 'hasPages') && $experiences->hasPages())
{{ $experiences->links() }}
@endif
@endsection