?
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/add_fee.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <script src="<?= base_url() ?>assets/scripts/jquery.autocomplete.js"></script> <?php $this->load->view('documentreadyfunctions'); ?> <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> <!-- BEGIN PAGE LEVEL STYLES --> <!-- END PAGE LEVEL STYLES --> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Add Fee</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_fee_posted','view_fee_posted','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('student/addinstudent/insert_fee/view_fee_posted/1', $attributes); ?> <h3 class="form-section"></h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Student</label> <div class="controls"> <input type="text" name="student" id="student" value=''placeholder="Select Student" class="required reset span12" 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> <div class="span6 "> <div class="control-group"> <label class="control-label">Classs</label> <div class="controls" > <input type="text" name="class" id="class" value='' class="required reset span12" 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> <div style="display: none" id="detail1"> <div class="row-fluid" > <div class="span6 "> <div class="control-group"> <label class="control-label">Student Reg No</label> <div class="controls"> <span class="text bold"><div id="reg_no"></div></span> </div> </div> </div> <div class="span6 "> <div class="control-group" > <label class="control-label">Gender</label> <div class="controls"> <span class="text bold"><div id="gender"></div></span> </div> </div> </div> </div> <div class="row-fluid" > <div class="span6 "> <div class="control-group" > <label class="control-label">Nationality</label> <div class="controls"> <span class="text bold"><div id="nationality"></div></span> </div> </div> </div> </div> </div> <div class="form-actions"> <button type="button" onclick="load_student_fee_details()" class="btn blue"><i class="icon-ok"></i> Load Info</button> </div> <input type="hidden" name="student_class_id" id="student_class_id"/> <div id="load_student_fee_div"></div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>