?
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/student_fee_alert.php |
<img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="view_student_alert('fee_alert','0')"" alt="Back" align = "center" width="32" height="32" /> <?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</div> <table class="table"> <tr> <th>Sl No</th> <th>Student Name</th> <th>Reg No</th> <th>Gender</th> <th>Batch Name</th> <th>Nationality</th> <th>Pending Amount</th> <th>Remove</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; ?> <tr> <td><?= $i++ ?></td> <td><?= $value['first_name'] . ' ' . $value['last_name'] ?></td> <td><?= $value['reg_no'] ?></td> <td><?= $value['gender'] ?></td> <td><?= $value['batch_no'] ?></td> <td><?= $value['nationality'] ?></td> <td><?= $pending ?></td> <td><img src="<?= base_url() ?>assets/images/remove_i.png" title="Back" onclick="remove_fee_alert(<?= $value['student_batch_id'] ?>)" alt="Back" align = "center" width="16" height="16" style="display: block;margin: 0 auto;" /></td> </tr> <?php } } ?> </table> </div> </div> </div> <?php } ?>