?
Current Path : /home1/savoy/public_html/savoyglobal.net/koolkids/school/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/koolkids/school/application/views/Student/fee.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php $this->load->view('header'); $this->load->view('Student/studentfunctions'); ?> <script type="text/javascript"> $(document).ready(function(){ viewdata('student','viewinstudentsearch','searchfee','viewfee','1'); }); function gettotal() { var norows = $("#norows").val(); var i; var feevalue; var paidamount; var total=0; var paidTotal=0; for(i=1;i<=norows;i++) { parseFloat(total); feevalue = $("#fee_amount_"+i).val(); paidamount = $("#paid_amount_"+i).val(); if(feevalue=='') feevalue=0; if(paidamount=='') paidamount=0; paidTotal += parseFloat(paidamount); } $("#total_paid").text(paidTotal); } function getpaidamount(status) { $("#paid_amount_"+status).val(parseFloat($("#fee_amount_"+status).val()) - (parseFloat($("#discount_amount_"+status).val())*$("#fee_amount_"+status).val()/100)); gettotal(); } </script> </head> <body> <div id="wrapper"> <?php $this->load->view('topmenu'); ?> <div id="content"> <div class="inner"> <!--[if !IE]>start section<![endif]--> <div class="section"> <!--[if !IE]>start title wrapper<![endif]--> <div class="title_wrapper"> <span class="title_wrapper_top"></span> <div class="title_wrapper_inner"> <span class="title_wrapper_middle"></span> <div class="title_wrapper_content"> <h2>Fees</h2> <div id="success-panel"> </div> <div style='display:none'> <div id="studentdiv"> </div></div> </div> </div> <span class="title_wrapper_bottom"></span> </div> <!--[if !IE]>end title wrapper<![endif]--> <!--[if !IE]>start section content<![endif]--> <div class="section_content" id="section_content"> </div> </div> <!--[if !IE]>end section<![endif]--> </div> </div> <!--[if !IE]>end content<![endif]--> </div> <!--[if !IE]>end wrapper<![endif]--> <?php $this->load->view('footer'); ?> </body> </html>