SEPALS LIVE: Monthly Class-wise Fee Report

1. Back up your current sepals.online/admin/fee_reports.php.
2. Upload ONLY the two files from admin into sepals.online/admin:
   fee_reports.php (your uploaded live file, with one report link added)
   monthly_class_fee_report.php (new read-only report)
3. Reports > Fee Reports > Monthly Class-wise Report.
   Or open https://sepals.online/admin/monthly_class_fee_report.php
4. Select session, fee month and class. Apply, then Print / Save PDF.
   All Classes shows each class total and student details. Click a class for its students.

NO SQL, migration, config replacement or new security helper required.
Keep this README and ZIP outside the web root.

Verified against your uploaded database backup:
April 2026: 138 monthly receipts, Rs. 100,200.
Nursery April 2026: 12 receipts, Rs. 6,000.
April fee receipts have payment dates from 29 August to 15 September.
The existing date report therefore shows zero for April payment dates.

Collection totals are from saved paid MONTHLY receipts for the selected fee month/session, irrespective of payment date. Voided payments, Paper Money and previous dues are excluded. Students without payments are also included when active in the selected session and admitted by month end. Inactive students with payments remain visible.

Expected fees and outstanding balances are ESTIMATES based on current rates, exemptions and class assignments. There is no fee-rate history in this backup. Missing rates, missing admission dates, inactive students and receipts before recorded admission are marked for review; payments remain included, unknown charges are not invented. Current classes may differ from historical classes. Active students with zero fees and no exemption: 126 across the full backup.

Validation: both PHP files passed syntax checks. Rendered PHP report with original helpers against an isolated copy of this backup: April all classes 100,200; April Nursery 6,000; May all classes 98,200; September all classes 15,600. Selected-class filtering verified. No production database connection or modification. Actual hosting/browser/physical print preview still needs user verification.

Rollback: restore old fee_reports.php and remove only the new monthly_class_fee_report.php. This report does not insert, update or delete fee data.
