@extends('admin.layouts.app') @section('title','Payment Details') @section('page-title','Payment Details') @section('page-subtitle','Transaction, fee breakdown and invoice information') @section('payments-active','active') @section('content') @php $currency = $payment->currencySymbol(); $lineItems = []; if ($payment->base_registration_fee > 0) { $lineItems[] = [ 'description' => 'Registration Fee', 'amount' => $payment->base_registration_fee, ]; } if ($payment->spouse_fee > 0) { $lineItems[] = [ 'description' => 'Spouse Registration', 'amount' => $payment->spouse_fee, ]; } if (empty($lineItems) && $payment->feeItem) { $lineItems[] = [ 'description' => $payment->feeItem->fee_name, 'amount' => $payment->amount, ]; } @endphp
{{ str_replace('_', ' ', ucfirst($payment->payment_type)) }}
| Description | Amount |
|---|---|
| {{ $item['description'] }} | {{ $currency }}{{ number_format($item['amount'], 2) }} |
| Total | {{ $currency }}{{ number_format($payment->amount, 2) }} |
{{ $payment->user?->name }}
{{ $payment->user?->email }}
{{ $payment->user?->phone_number ?? '—' }}
{{ $payment->user?->membershipCategory?->name ?? '—' }}
{{ $payment->conference?->name }}
{{ $payment->conference?->city }} {{ $payment->conference?->conference_year }}
{{ $payment->conference?->venue ?? '—' }}
{{ $payment->invoice->invoice_number }}
Total: {{ $currency }}{{ number_format($payment->invoice->total_amount, 2) }}
Paid: {{ $currency }}{{ number_format($payment->invoice->amount_paid, 2) }}
Balance: {{ $currency }}{{ number_format($payment->invoice->balance, 2) }}
{{ ucfirst($payment->invoice->status) }} @if($payment->invoice->receipt_number)Receipt: {{ $payment->invoice->receipt_number }}
@endifVerify on Paystack before confirming. If the transaction never completed, cancel it so the user can retry.