?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/draft/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/public_html/savoyglobal.net/sec/draft/application/views/student/manage_fees.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 src="<?= base_url() ?>assets/scripts/jquery.autocomplete.js"></script> <script src="<?= base_url() ?>assets/scripts/autonumeric.js"></script> <script type="text/javascript"> $(document).ready(function() { viewdata('student','viewinstudentsearch','search_fee_posted','view_fee_posted','1'); App.init(); }); function check_pending_amount(reg_amount,course_amount,fee_id) { if(reg_amount<0 || course_amount<0) { alert('Edit Fee Deatails Before Post') } else displayformdata1('student','edit_fee',fee_id,'fee','fee_id','post_fee_setting','') } function suggestStudentInfo(div){ $(div).autocomplete("<?= site_url() ?>/master/autosuggeststudent/", { width: 250, selectFirst: false, onCallBack: function(id,index) { $('#batch,#batch_id,#course_fee,#no_sessions,#pending_amount,#paid_amount').val(''); suggestStudentBatch(id,'#batch'); $('#batch').removeAttr( "readonly" ); } }); } function suggestStudentBatch(student_id,div){ $(div).autocomplete("<?= site_url() ?>/student/autosuggestStudentBatch/"+student_id, { width: 250, selectFirst: false, onCallBack: function(id,index) { if(id!=""){ var res=id.split('~'); var batch_id=res[1]; var student_batch_id=res[0]; $('#student_batch_id').val(student_batch_id); $('#batch_id').val(batch_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 load_student_fee_details() { if($("#batch_id").val()==""){ alert("Select Student Batch First ") } else if($("#student_id").val()==""){ alert("Select Any Student ") } else{ $('#student,#batch').attr('disabled', 'disabled') var student_batch_id=$('#student_batch_id').val(); var student_id=$('#student_id').val(); $("#load_student_fee_div").empty().html('<CENTER><img src="<?= base_url() ?>assets/images/loading.gif" class="loading"/></CENTER>'); $("#load_student_fee_div").load("<?= site_url() ?>/"+'student'+'/'+'getStudentFeeDetails/'+student_batch_id+"/"+student_id); } } function reset_div() { $('#student,#batch,.reset').removeAttr('disabled'); $("#load_student_fee_div").empty(); } function checkAmountPending(obj,check_with_div) { var amount=obj.value; var pending_amount=$('#'+check_with_div).val(); if(amount>0){ if(parseFloat(amount)>parseFloat(pending_amount)){ obj.value=0; } } else { alert('Amount Should be greater than Zero'); obj.value=0; } } function checkPendingAmount(amount) { if($("#batch_id").val()==""){ alert("Select Student Batch First ") $('#total_amount').val(''); } else { if($("#fee_type").val()==""){ alert("Select Fee Type") $('#total_amount').val(''); } else { if($("#fee_type").val()==0){ var pending_amount=$('#reg_fee_pending').val(); } else { var pending_amount=$('#pending_amount').val(); } if(amount>0){ if(parseFloat(amount)>parseFloat(pending_amount)){ $('#total_amount').val(''); } } else { alert('Amount Should be greater than Zero'); $('#total_amount').val(''); } } } } function post_fee_settings(ref_id,controller,controller_function,model,page) { var clicked = function(){ $.fallr('hide'); $.ajax({ type: "POST", dataType:"json", url: "<?= site_url('student/post_fee_settings/') ?>/"+ref_id, success: function(msg) { viewdata(''+controller+'',''+controller_function+'',''+model+'',''+page+'','1') } }); } $.fallr('show', { buttons : { button1 : {text: 'Yes', danger: true, onclick: clicked}, button2 : {text: 'Cancel', onclick: function(){$.fallr('hide')}} }, content : '<p>Are you sure to Post this Fee Payment ?</p>', icon : 'error' }); } function reverse_fee_settings(ref_id,controller,controller_function,model,page) { var clicked = function(){ $.fallr('hide'); $.ajax({ type: "POST", dataType:"json", url: "<?= site_url('student/reverse_fee_settings/') ?>/"+ref_id, success: function(msg) { viewdata(''+controller+'',''+controller_function+'',''+model+'',''+page+'','1') } }); } $.fallr('show', { buttons : { button1 : {text: 'Yes', danger: true, onclick: clicked}, button2 : {text: 'Cancel', onclick: function(){$.fallr('hide')}} }, content : '<p>Are you sure to reverse this Fee Payment ?</p>', icon : 'error' }); } </script> <!-- END FOOTER --> </body> <!-- END BODY --> </html>