@extends('layouts.app') @section('title', 'Collect Fees') @section('content')
Search a student, allocate the payment across outstanding fees and issue a receipt
Send a simulated STK prompt to the payer's phone. The credit lands in Incoming Payments and is reconciled (receipt issued) there.
@if ($student) @elseSearch and select a student above to send an STK push.
@endif{{ $student->admission_no }} · {{ $student->class_name }} {{ $student->stream }} · {{ $student->category }}
Balance due: KES {{ number_format($invoice->total_balance, 2) }}
@endifNo outstanding balance for this student.
@endifNo student found matching "{{ $q }}".
@endif| Receipt No. | Student | Date | Mode | Amount |
|---|---|---|---|---|
| {{ $r->receipt_no }} | {{ $r->student_name }} | {{ $r->date }} | {{ $r->mode }} | KES {{ number_format($r->amount, 2) }} |