@extends('admin.layouts.app') @section('title', 'Payments') @section('breadcrumb') @endsection @section('content')
@forelse($payments as $p) @empty @endforelse
Pay No.StudentFee ForAmountMethodDateStatus
{{ $p->payment_no }}
{{ $p->student?->student_name }}
{{ $p->student?->student_code }}
{{ $p->feeGroup?->name ?? $p->feeHead?->name ?? '—' }}
₹{{ number_format($p->net_amount) }}
@if($p->discount > 0)
-₹{{ number_format($p->discount) }} discount
@endif @if($p->fine > 0)
+₹{{ number_format($p->fine) }} fine
@endif
{{ strtoupper($p->payment_method) }} {{ $p->payment_date->format('d M Y') }} {{ ucfirst($p->status) }}
No payments found
{{ $payments->withQueryString()->links() }}
@endsection