@extends('admin.layouts.app') @section('title','Payments Overview') @section('page-title','Payments Overview') @section('page-subtitle','Monitor conference payments and revenue') @section('payments-active','active') @section('content') @if(session('success'))
{{ session('success') }}
@endif @if(session('info'))
{{ session('info') }}
@endif
Pending & Failed Bulk Import Payments
Total Revenue

₦{{ number_format($stats['total'], 2) }}

Paid

₦{{ number_format($stats['paid'], 2) }}

Pending

₦{{ number_format($stats['pending'], 2) }}

Failed

₦{{ number_format($stats['failed'], 2) }}

All Transactions
@forelse($payments as $payment) @empty @endforelse
ReferenceUserConferenceAmountTypeStatusDateAction
{{ $payment->payment_reference }} {{ $payment->user?->name }} {{ $payment->conference?->name }} ₦{{ number_format($payment->amount, 2) }} {{ str_replace('_', ' ', ucfirst($payment->payment_type)) }} status === 'pending' ? 'bg-warning text-dark' : 'bg-danger') }}'>{{ ucfirst($payment->status) }} {{ $payment->created_at->format('M d, Y') }} View @if($payment->status === 'pending')
@csrf
@endif
No payments recorded yet.
{{ $payments->links() }}
@endsection