@extends('layouts.app') @section('title', 'Fee Payments | Institution Axis') @section('sidebar-menu') @include('schooladmin.partials.sidebar') @endsection @section('sidebar-footer')

{{ auth()->user()->school?->name ?? 'Institution Axis' }}

@endsection @section('breadcrumb') Home / Finance / Payments @endsection @section('content')

Fee Payments

Record New Payment
@if(session('success')) @endif
@forelse($payments as $payment) @empty @endforelse
Date Student Invoice # Method Reference Amount (KES) Actions
{{ date('M d, Y', strtotime($payment->payment_date)) }}
{{ substr($payment->student->first_name, 0, 1) }}{{ substr($payment->student->last_name, 0, 1) }}
{{ $payment->student->fullName() }}
{{ $payment->invoice->invoice_number }} {{ str_replace('_', ' ', $payment->payment_method) }} {{ $payment->reference_number ?? '-' }} {{ number_format($payment->amount, 2) }} Receipt
No payment records found.
@if($payments->hasPages()) @endif
@endsection