@extends('layouts.master') @section('page_title', 'Manage Payments') @section('content')
Manage Payment Records for {{ $sr->user->name}}
{!! Qs::getPanelOptions() !!}
@foreach($uncleared as $uc) {{--Amount--}} {{--Amount Paid--}} {{--Balance--}} {{--Pay Now Form--}} {{--Receipt No--}} {{--Action--}} @endforeach
# Title Pay_Ref Amount Paid Balance Pay Now Receipt_No Year Action
{{ $loop->iteration }} {{ $uc->payment->title }} {{ $uc->payment->ref_no }}{{ Qs::naira($uc->payment->amount) }}{{ Qs::naira($uc->amt_paid) }}{{ Qs::naira($uc->balance ?: $uc->payment->amount) }} @if(Qs::userIsTeamAccount())
@csrf
@elseif(\App\Helpers\OnlinePay::anyEnabled()) Pay Online @else — @endif
{{ $uc->ref_no }} {{ $uc->year }}
@if($online_paid->count())
@foreach($online_paid as $op) @endforeach
DateFeeAmountMethodReference
{{ date('j M Y, g:ia', strtotime($op->paid_at ?: $op->created_at)) }} {{ optional(optional($op->record)->payment)->title }} {{ Qs::naira($op->amount) }} {{ \App\Helpers\OnlinePay::METHODS[$op->method] ?? $op->method }} {{ $op->reference }} Print Receipt
@endif
@foreach($cleared as $cl) {{--Amount--}} {{--Receipt No--}} {{--Action--}} @endforeach
# Title Pay_Ref Amount Receipt_No Year Action
{{ $loop->iteration }} {{ $cl->payment->title }} {{ $cl->payment->ref_no }}{{ Qs::naira($cl->payment->amount) }}{{ $cl->ref_no }} {{ $cl->year }}
{{--Payments Invoice List Ends--}} @endsection