@extends('layouts.master') @section('page_title', 'Pay Fees Online') @section('content')
Pay: {{ $pr->payment->title }} — {{ optional($student)->name }}
{!! Qs::getPanelOptions() !!}
@if ($errors->any())
@foreach ($errors->all() as $e)
{{ $e }}
@endforeach
@endif
Fee{{ $pr->payment->title }} ({{ $pr->year }})
Total{{ Qs::naira($pr->payment->amount) }}
Paid so far{{ Qs::naira($pr->amt_paid) }}
Outstanding{{ Qs::naira($balance) }}
@foreach($pending as $p)
{{ Qs::naira($p->amount) }} via {{ $labels[$p->method] ?? $p->method }} is {{ $p->status == 'awaiting_approval' ? 'awaiting school confirmation' : 'pending' }}. Check status
@endforeach @if($balance < 1)
This fee is fully paid. Thank you!
@elseif(empty($methods))
Online payment is not available at the moment. Please pay at the school's accounts office.
@else
@csrf
You can pay all of it or part of it.
@foreach($methods as $m)
@endforeach
@if(in_array('bank_transfer', $methods))
Bank transfer details

Bank: {{ $bank['name'] }}

Account name: {{ $bank['account_name'] }}

Account number: {{ $bank['account_no'] }}

@if($bank['instructions'])

{{ $bank['instructions'] }}

@endif

Make the transfer, then fill in the details below. The school will confirm it and your receipt will appear here.

JPG, PNG or PDF, up to 3 MB.
@endif Back
@endif
@endsection