@extends('admin.layouts.app') @section('title', 'Volunteer Seva & Passes') @section('page-title', 'Volunteer Seva & Passes') @section('content')

πŸ™ Volunteer Seva & Passes

Manage volunteer registrations, verify QR Seva Passes, log hours, and issue official Seva Certificates.

Public Registration Page β†—
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif {{-- ============ FAST QR CHECK-IN CARD ============ --}}
⚑ Fast Seva Pass Check-In & Hours Logger
@csrf
{{-- ============ KPI CARDS ============ --}}
πŸ‘₯
Total Volunteers {{ number_format($statusCounts['all'] ?? 0) }} Registered Sevaks
🟒
Approved Sevaks {{ number_format($statusCounts['approved'] ?? 0) }} Active in Field
⏳
Pending Review {{ number_format($statusCounts['pending'] ?? 0) }} New Applications
⏱️
Logged Hours {{ number_format($stats['total_hours'] ?? 0, 1) }} hrs {{ number_format($stats['attended_passes'] ?? 0) }} Attended Passes
πŸ“œ
Trust Certificates {{ number_format($statusCounts['certified'] ?? 0) }} Certified Sevaks
{{-- ============ SKILLS FILTER PILLS ============ --}} @if(isset($availableSkills) && !empty($availableSkills))
Filter Skill: All Skills @foreach($availableSkills as $key => $skill) {{ $skill['name'] }} @endforeach
@endif {{-- ============ ALPINE ROOT & BULK MANAGER ============ --}}
{{-- ============ TOOLBAR ============ --}}
@if(request('skill')) @endif Reset
{{-- ============ FLOATING BULK BAR ============ --}}
Selected: volunteers
@csrf
{{-- ============ TABLE ============ --}}
@forelse($volunteers as $volunteer) @empty @endforelse
Volunteer (Sevak) Contact & Location Skills Total Logged Hours Certificate Status Status Actions
{{ $volunteer->name }} ID: DS-VOL-{{ str_pad($volunteer->id, 4, '0', STR_PAD_LEFT) }}
{{ $volunteer->phone }}
{{ $volunteer->city ?? 'Sacred Dham' }}{{ $volunteer->state ? ', ' . $volunteer->state : '' }}
@forelse($volunteer->skills_list as $sk) {{ $availableSkills[$sk]['name'] ?? ucfirst($sk) }} @empty General @endforelse
{{ number_format($volunteer->total_hours, 1) }} hrs @if($volunteer->certificate_number)
{{ $volunteer->certificate_number }}
πŸ“„ Download PDF @else
@csrf
@endif
@csrf
{{-- 1. View Profile --}} πŸ‘οΈ {{-- 2. Delete --}}
@csrf @method('DELETE')
πŸ™

No Volunteers Found

No volunteer records match your current filter criteria.

Reset Filters
{{-- ============ PAGINATION ============ --}}
Showing {{ $volunteers->firstItem() ?? 0 }} to {{ $volunteers->lastItem() ?? 0 }} of {{ $volunteers->total() }} volunteers
{{ $volunteers->links() }}
@endsection