= $this->extend('layout/management_layout') ?>
= $this->section('content') ?>
Fee Collection
| Payment ID |
Student Name |
Amount |
Date |
Status |
'F001', 'student_name' => 'John Doe', 'amount' => '$200', 'date' => '2024-07-01', 'status' => 'Paid'],
['payment_id' => 'F002', 'student_name' => 'Jane Smith', 'amount' => '$250', 'date' => '2024-07-02', 'status' => 'Pending'],
['payment_id' => 'F003', 'student_name' => 'Michael Johnson', 'amount' => '$300', 'date' => '2024-07-03', 'status' => 'Paid'],
// Add more records as needed
];
foreach ($feeCollections as $collection) {
$dateDisp = !empty($collection['date']) ? local_date($collection['date'], 'm-d-Y') : '';
echo "
| {$collection['payment_id']} |
{$collection['student_name']} |
{$collection['amount']} |
" . esc($dateDisp) . " |
{$collection['status']} |
";
}
?>
= $this->endSection() ?>