@extends('layouts.state') @section('title', 'Official Event Payments') @section('page-title', 'Official Event Payments Summary') @section('content')
{{ $event->title ?? 'Official Event' }}
State: {{ $state_short_name ?? 'N/A' }} — Total Paid: ₹{{ number_format($totals['total_paid'] ?? 0, 2) }} — Total Pending: ₹{{ number_format($totals['total_pending'] ?? 0, 2) }}
Back to Registration
Users with Payments
@forelse ($rows as $index => $row) @empty @endforelse @if(count($rows) > 0) @endif
# User UID Participants Paid Amount Pending Amount Total Amount Payment Channel Action
{{ $index + 1 }}
{{ $row->full_name ?? 'N/A' }}
{{ $row->email ?? '' }}
{{ $row->reg_uid ?? '-' }} {{ $row->participants_count ?? 0 }} ₹{{ number_format($row->paid_amount ?? 0, 2) }} ₹{{ number_format($row->pending_amount ?? 0, 2) }} ₹{{ number_format($row->total_amount ?? 0, 2) }} @php $channel = $row->payment_channel ?? 'unknown'; $badgeClass = match($channel) { 'razorpay' => 'bg-primary-subtle text-primary', 'offline' => 'bg-warning-subtle text-warning', 'mixed' => 'bg-info-subtle text-info', default => 'bg-secondary-subtle text-secondary' }; @endphp {{ ucfirst($channel) }}
No payment records found for this event and state.
Totals: ₹{{ number_format($totals['total_paid'] ?? 0, 2) }} ₹{{ number_format($totals['total_pending'] ?? 0, 2) }} ₹{{ number_format($totals['total_amount'] ?? 0, 2) }}
@endsection @push('styles') @endpush @push('scripts') @endpush