?
Current Path : /home1/savoy/public_html/savoyglobal.net/eduplus2/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/eduplus2/application/views/home/fee_pending_alerts.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('commonjsfiles'); ?> <script> scrollToElement($('#dashboard_alert_div')); function scrollToElement(ele) { $(window).scrollTop(ele.offset().top).scrollLeft(ele.offset().left); } function view_fee_alert(class_name_id) { $("#dashboard_alert_div").empty().html('<CENTER><img src="<?= base_url() ?>assets/img/loading.gif" class="loading"/></CENTER>'); $("#dashboard_alert_div").load("<?= site_url('master/view_fee_alert/') ?>/" +class_name_id); } </script> <!-- BEGIN PAGE LEVEL STYLES --> <!-- END PAGE LEVEL STYLES --> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Fee Pending Alerts</div> <div class="tools"> <a href="#" onclick="view_page('home','alert','dashboard_alert_div')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <table id="table-example" class="table table-striped table-hover table-bordered"> <thead> <tr> <th>SL NO</th> <th>Class Name</th> <th>Count</th> </tr> </thead> <tbody> <?php // $fee_alert_by_class=$this->mastermodel->fee_pending_alert_by_class(); $fee_alert = $this->mastermodel->fee_pending_alert(); $class_name = $this->mastermodel->getdatas('class_name'); $i = 1; if (isset($class_name)) { foreach ($class_name as $value) { ?> <tr> <td><?= $i ?></td> <td> <a class="clickimage1" href="#" onclick="view_fee_alert(<?= $value['class_name_id'] ?>)"> <?= $value['class_name_code'] ?> </a> </td> <td> <?php if (isset($fee_alert['result_count'][$value['class_name_id']])) echo $fee_alert['result_count'][$value['class_name_id']]; else echo 0; ?> </td> </tr> <?php $i++; } } ?> </tbody> </table> <!-- END FORM--> </div> </div> </div> </div>