?
Current Path : /home1/savoy/public_html/savoyglobal.net/oscardraft/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/oscardraft/application/views/home/student_fee_alerts.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <script> scrollToElement($('#dashboard_alert_div')); function scrollToElement(ele) { $(window).scrollTop(ele.offset().top).scrollLeft(ele.offset().left); } function close_alert(emp_id,row_id) { if (confirm("Are you sure you want to remove the alert?")) { $.ajax({ type: "POST", url: "<?= site_url() ?>"+'/settings/alert_close/'+emp_id+"/fee_pending/", success: function(msg) { $('#'+row_id) .hide(); } }); } } </script> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="view_page('home','fee_pending_alerts','dashboard_alert_div')" alt="Back" align = "center" width="32" height="32" /> </div> </div> <div class="clean"></div> <div class="grid_12"> <div class="box"> <div class="header no-icon main">Fee Pending Alerts</div> <div class="content no-padding"> <table id="table-example" class="table"> <thead> <tr> <th>SL NO</th> <th>Reg NO</th> <th>Student Name</th> <th>Total Fee</th> <th>Pending Fee</th> <th>Remove</th> </tr> </thead> <tbody> <?php $fee_alert = $this->mastermodel->fee_pending_alert($class_name_id); $i = 1; if (isset($fee_alert['result_list'])) { foreach ($fee_alert['result_list'] as $value) { $paid = $fee_alert['result_list'][$value['student_class_id']]['fee_paid']; ?> <tr id="close_alert_<?= $i ?>"> <td><?= $i ?></td> <td><a class="clickimage1" href="#" onclick="viewincolorbox('student','student_fee_details','<?= $value['student_class_id']; ?>','student_class','student_class_id','student_fee_details')"> <?= $value['reg_no'] ?></a> </td> <td><?= $value['first_name'] ." ". $value['last_name'] ?></td> <td><?= $fee_alert['result_list'][$value['student_class_id']]['fee'] ?></td> <td><?= $fee_alert['result_list'][$value['student_class_id']]['fee'] - $paid ?></td> <td><img class="clickimage" src='<?= base_url() ?>assets/images/delete-icon.png' onclick='close_alert("<?= $value['student_class_id'] ?>","close_alert_<?= $i ?>")' title='Delete' width='20' height='20' alt='Delete' align = 'center'/></td> </tr> <?php $i++; } } ?> </tbody> </table> </div> </div> </div> <div class="actions-left"> <div style="display:none"> <div id="empdiv"></div> </div> </div>