@extends('layouts.state') @section('title', 'Official Event Payments') @section('page-title', 'Official Event Payments Summary') @section('content')
| # | 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) }} | |||||