@extends('user.layouts.app') @section('title','Payments & Invoices') @section('page-title','Payments & Invoices') @section('page-subtitle','View payment history and pay pending fees') @section('content') @if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($registrations->isNotEmpty()) @include('user.partials.pending-registration-payments') @endif @include('user.partials.paper-review-access', ['paperReviewAccess' => $paperReviewAccess ?? collect()])
Payments
@forelse($payments as $payment) @empty @endforelse
ReferenceAmountStatusDate
{{ Str::limit($payment->payment_reference, 15) }} {{ str_replace('_', ' ', ucfirst($payment->payment_type)) }} {{ $payment->currency ?? 'NGN' }} {{ number_format($payment->amount, 2) }} {{ ucfirst($payment->status) }} {{ $payment->created_at->format('M d, Y') }}
No payments yet.
{{ $payments->links() }}
Invoices
@forelse($invoices as $invoice) @empty @endforelse
Invoice #AmountStatus
{{ $invoice->invoice_number }} ₦{{ number_format($invoice->total_amount, 2) }} {{ ucfirst($invoice->status) }} View
No invoices yet.
{{ $invoices->links() }}
@endsection