?
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/application/views/student/ |
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/www/savoyglobal.net/eldertree/application/views/student/manage_cancellation.php |
<!DOCTYPE html> <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]--> <!--[if IE 9]> <html lang="en" class="ie9"> <![endif]--> <!--[if !IE]><!--> <html lang="en"> <!--<![endif]--> <!-- BEGIN HEAD --> <head> <?php $this->load->view('header'); $this->load->view('commonfunctions'); ?> </head> <body class="page-header-fixed"> <?php $this->load->view('top'); ?> <!-- BEGIN CONTAINER --> <div class="page-container row-fluid" > <!-- BEGIN PAGE --> <div class="page-sidebar nav-collapse collapse"> <!-- BEGIN SIDEBAR MENU --> <?php $this->load->view('menu'); ?> <!-- END SIDEBAR MENU --> </div> <!-- END SIDEBAR --> <!-- BEGIN PAGE --> <div class="page-content"> <!-- BEGIN PAGE CONTAINER--> <div class="container-fluid"> <!-- BEGIN PAGE HEADER--> <div class="row-fluid"> <div class="span12"> <!-- BEGIN PAGE TITLE & BREADCRUMB--> <h3 class="page-title"> <?= $_SESSION['menu_name']; ?> </h3> <ul class="breadcrumb"> <li> <i class="icon-home"></i> <?= $_SESSION['module_title']; ?> <i class="icon-angle-right"></i> </li> <li><a href="#"><?= $_SESSION['menu_name']; ?></a></li> <li class="pull-right no-text-shadow"> </li> </ul> <!-- END PAGE TITLE & BREADCRUMB--> </div> </div> <!-- END PAGE HEADER--> <div id="view_msg"></div> <!-- BEGIN PAGE CONTENT--> <div id="inner_content"> </div> <!-- END PAGE CONTENT--> <div class="clearfix"></div> </div> </div> <!-- END PAGE CONTAINER--> </div> <!-- END PAGE --> <!-- END CONTAINER --> <?php $this->load->view('footer'); $this->load->view('commonjsfiles'); ?> <script type="text/javascript"> $(document).ready(function() { viewdata('student','viewinstudentsearch','search_cancellation','view_cancellation','1'); App.init(); }); function suggestClass_name(div) { $(div).autocomplete("<?= site_url() ?>/master/autosuggestclass/", { width: 250, selectFirst: false, onCallBack: function(id,index) { $('#student,#student_id').val(''); suggestClassStudent('#student',id) } }); } function suggestClassStudent(divid,class_name_id) { $(divid).autocomplete("<?= site_url() ?>/student/autosuggestclassstudent/"+class_name_id, { width: 250, selectFirst: false, onCallBack: function(id,index) { var info=id.split('~'); var student_class_id=info[0]; var student_id=info[1]; $('#student_id').val(student_id); $('#student_class_id').val(student_class_id); if(student_id!='') { $('#detail1').show(); $.ajax({ type: "POST", dataType:"json", url: "<?= site_url() ?>/student/get_student_no/"+student_id, success: function(msg){ $("#reg_no").html(msg.reg_no); $("#gender").html(msg.gender); $("#nationality").html(msg.nationality); } }); } } }); } function get_studentsdetails(student_id,class_name) { var start_date=$("#start_date").val(); var end_date=$("#end_date").val(); if(student_id!='') { $('#detail1').show(); $.ajax({ type: "POST", dataType:"json", url: "<?= site_url() ?>/student/get_student_no/"+student_id, success: function(msg){ $("#reg_no").html(msg.reg_no); $("#gender").html(msg.gender); $("#nationality").html(msg.nationality); } }); $("#inventory_box").empty().html('<CENTER><img src="<?= base_url() ?>assets/img/loading.gif" class="loading"/></CENTER>'); $("#inventory_box").load("<?= site_url() ?>/student/get_student_stock_details/"+student_id); } else $("#inventory_box").hide(); if(student_id!="" && start_date!="" ) { $.ajax({ type: "POST", dataType:"json", url: "<?= site_url() ?>/student/get_deactivted_student/"+student_id+'/'+start_date+'/'+class_name, success: function(msg) { if(msg.deactivate >0) { alert(msg.student+" is Already Deacivated for this Date") ; $("#start_date").val(' '); } } }); } if(student_id!="" && end_date!="") { $.ajax({ type: "POST", dataType:"json", url: "<?= site_url() ?>/student/get_deactivted_student/"+student_id+'/'+end_date+'/'+class_name, success: function(msg){ if(msg.deactivate >0) { alert(msg.student+" is Already Deacivated for this Date") ; $("#end_date").val(' '); } } }); } } </script> <!-- END FOOTER --> </body> <!-- END BODY --> </html>