?
Current Path : /home1/savoy/public_html/savoyglobal.net/futuredraft/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/futuredraft/application/views/student/add_fee.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script src="<?= base_url() ?>assets/js/jquery.autocomplete.js"></script> <script type="text/javascript"> $(document).ready(function() { suggestStudentInfo('#student'); }); function checkPendingAmount(index){ var amount=parseInt($('#amount_'+index).val()); if(amount!="" && amount>0){ var pending_amount=parseInt($('#student_class_fee_'+index).val())-parseInt($('#paid_amount_'+index).val()); if(amount>pending_amount){ alert("Amount could not exceed pending amount"); $('#amount_'+index).val(0) } } else{ $('#amount_'+index).val(0) } } </script> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('student','viewinstudentsearch','search_fee_posted','view_fee_posted','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Add Fee</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('student/addinstudent/insert_fee/view_fee_posted/1', $attributes); ?> <div class="clean"></div> <div style="width: 500px;margin: 0 auto;"> <div class="grid_6" style="width: 100%"> <div class="box"> <div class="header main no-icon"> Student Details </div> <div class="content no-padding"> <div class="section _100"> <label>Student</label> <div> <input type="text" name="student" id="student" value=''placeholder="Select Student" class="required reset" onchange="empty_text('class,#class_id,#student,#student_id,#course_fee,#session_amount,#no_sessions,#pending_amount,#paid_amount')" /> <input type="hidden" name="student_id" id="student_id" class="reset" /> </div> </div> <div style="display: none" id="detail1"> <div class="section _100" > <label>Student No</label> <div id="reg_no" class="single_page"> </div> </div> <div class="section _100" > <label>Gender</label> <div id="gender" class="single_page"> </div> </div> <div class="section _100" > <label>Nationality</label> <div id="nationality" class="single_page"> </div> </div> </div> <div class="section _100"> <label>Class</label> <div> <input type="text" name="class" id="class" value='' class="required reset" readonly="readonly" onchange="empty_text('class,#class_id,#course_fee,#session_amount,#no_sessions,#pending_amount,#paid_amount')"placeholder="Select class"/> <input type="hidden" name="class_id" id="class_id" class="reset" /> </div> </div> </div> <div class="content no-padding"> <div class="actions"> <div class="actions-left"> <button type="button" onclick="reset_div()">Clear</button> </div> <div class="actions-right"> <button type="button" style="margin-left: 130px;" onclick="load_student_fee_details()">Load Info</button> </div> </div> </div> <input type="hidden" name="student_class_id" id="student_class_id"/> </div> </div> </div> <div class="grid_12" id="load_student_fee_div" style="width: 100%;display: block;"> </div> <?php echo form_close(); ?>