@extends('layouts.master') @section('page_title', 'Online Payments') @section('content')
| Date | Student | Fee | Amount | Method | Reference | Status | Action |
|---|---|---|---|---|---|---|---|
| {{ $o->created_at->format('d M Y H:i') }} | {{ optional(optional($o->record)->student)->name }} paid by {{ optional($o->payer)->name }} |
{{ optional(optional($o->record)->payment)->title }} | {{ Qs::naira($o->amount) }} | {{ \App\Helpers\OnlinePay::METHODS[$o->method] ?? $o->method }} | {{ $o->reference }}@if($o->bank_ref) Transfer ref: {{ $o->bank_ref }}@endif @if($o->note) {{ $o->note }}@endif |
{{ ucwords(str_replace('_', ' ', $o->status)) }} | @if($o->method == 'bank_transfer' && $o->status == 'awaiting_approval') @if($o->proof)Proof@endif @endif |
| Nothing here. | |||||||