@extends('layouts.dashboard') @section('title', __('Manual Payments')) @section('page_title', __('Manual Payments')) @section('content')
{{ __('Manual / Bank Transfer Payments') }}
{{ __('These payments were submitted for offline confirmation. Confirm the money actually arrived before approving — approving grants the course, subscription, or fee credit immediately.') }}
@forelse($payments as $payment) @empty @endforelse
{{ __('Customer') }} {{ __('For') }} {{ __('Amount') }} {{ __('Reference') }} {{ __('Submitted') }} {{ __('Actions') }}
{{ $payment->user->name ?? '—' }}
{{ $payment->user->email ?? '' }}
@if($payment->order) {{ __('Order') }} {{ $payment->order->order_no }} @elseif($payment->feeInvoice) {{ __('Fee invoice') }} {{ $payment->feeInvoice->invoice_no }} @else — @endif {{ money($payment->amount) }} {{ $payment->currency }} @if($payment->payer_reference)
{{ $payment->payer_reference }}
@if(\App\Models\Payment::referenceInUse($payment->payer_reference, $payment->id)) {{ __('Duplicate reference') }} @endif @else
{{ $payment->transaction_id }}
@endif @if($payment->payer_note)
{{ $payment->payer_note }}
@endif @if($payment->proof_path) {{ __('View receipt') }} @endif
{{ $payment->created_at->format('d M Y H:i') }}
@csrf
@csrf
{{ __('No manual payments awaiting confirmation.') }}
{{ $payments->links() }}
@endsection