@extends('adminlte::page') @section('title', 'Payments') @section('content_header')

Payments

@stop @section('content')
@if(session('success'))
{{ session('success') }}
@endif @forelse($payments as $payment) @empty @endforelse
# Student Bill Amount Paid Payment Method Date Recorded By Actions
{{ $loop->iteration + ($payments->currentPage() - 1) * $payments->perPage() }} {{ $payment->studentBill->student->full_name ?? 'N/A' }} {{ $payment->studentBill->bill->title ?? 'N/A' }} {{ number_format($payment->amount, 2) }} {{ $payment->payment_method ?? '-' }} {{ $payment->payment_date->format('d M Y') }} {{ $payment->recordedBy->name ?? 'N/A' }} View
No payments recorded yet.
{{ $payments->links() }}
@stop