?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec_old/application/views/home/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/sec_old/application/views/home/fee_alert.php |
<?php if (isset($fee_alert['result']) && count($fee_alert['result']) > 1) { ?> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main">Fee Pending Alerts - Batch Wise</div> <table class="table"> <tr> <th>Sl No</th> <th>Batch Name</th> </tr> <?php $i = 1; $batch_list = array(); foreach ($fee_alert['result'] as $value) { if (isset($fee_alert['attendence'][$value['student_id']][$value['current_batch']]['alert_status'])) $att = $fee_alert['attendence'][$value['student_id']][$value['current_batch']]['alert_status']; else { $att = 0; } if (isset($fee_alert['extra_fee'][$value['student_id']][$value['current_batch']]['extra_fee'])) $att = $fee_alert['extra_fee'][$value['student_id']][$value['current_batch']]['extra_fee']; else { $extra = 0; } $total_amount = $value['course_fee'] + $value['registration_fee'] + $extra; $total_paid = $value['total_amount']; // $value['total_amount'] < $total_amount && if ($total_paid < $total_amount && $att > $value['no_sessions']) { $pending = $total_amount - $total_paid; if (!in_array($value['batch_no'], $batch_list)) { $batch_list[] = $value['batch_no']; ?> <tr> <td><?= $i++ ?></td> <td><a href="#alert_student_fee" class="clickimage" onclick="view_student_alert('student_fee_alert','<?= $value['current_batch'] ?>')"><?= $value['batch_no'] ?></a></td> </tr> <?php } } } ?> </table> </div> </div> </div> <?php } ?>