@extends('layouts.state') @section('title', 'User Payment Details') @section('page-title', 'Federation Cup - User Payment Details') @section('content')
{{ $event->title ?? 'Federation Cup' }}
@php $displayName = $userProfile->name ?? trim(($userProfile->fname ?? '') . ' ' . ($userProfile->lname ?? '')); @endphp User: {{ $displayName !== '' ? $displayName : 'N/A' }} @if(!empty($userProfile->reg_uid)) — UID: {{ $userProfile->reg_uid }} @endif
Registration Summary
Total Participants
{{ $summary['participants_count'] ?? 0 }}
Total Pending (Offline)
{{ number_format($summary['pending_amount'] ?? 0, 2) }}
Total Paid (Online/Offline)
{{ number_format($summary['paid_amount'] ?? 0, 2) }}
Payment Records
@forelse ($payments as $p) @empty @endforelse
Channel Status Amount Date
{{ ucfirst($p->payment_channel ?? 'online') }} {{ $p->status ?? ($p->payment_status ?? '-') }} {{ number_format($p->amount ?? 0, 2) }} {{ optional($p->payment_date ?? $p->created_at)->format('d/m/Y') }}
No payment records found for this user.
Registered Entries
@forelse ($participants as $idx => $row) @empty @endforelse
# Category Sub Category Option
{{ $idx + 1 }} {{ $row->category_name ?? '-' }} {{ $row->sub_category_name ?? '-' }} {{ $row->option_name ?? '-' }}
No participants found for this user.
@endsection