?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/application/views/home/fee_alert.php |
<!-- BEGIN EXAMPLE TABLE PORTLET--> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-cogs"></i>Fee Pending Alerts - Batch Wise</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" > <tr> <th>Sl No</th> <th>Batch Name</th> </tr> <?php if (isset($fee_alert['result']) && count($fee_alert['result']) > 1) { $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 id="fee_ajax-modal" class="modal hide fade" tabindex="-1"></div>