?
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_payment.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <script src="<?= base_url() ?>assets/scripts/jquery.autocomplete.js"></script> <script type="text/javascript"> $(document).ready(function() { suggestStudentInfo('#student'); }); </script> <?php $this->load->view('documentreadyfunctions'); ?> <!-- 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_payment','view_fee','<?= $_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_payment/view_fee/1', $attributes); ?> <h3 class="form-section">Student Details</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('#student,#student_id,')" /> <input type="hidden" name="student_id" id="student_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> <h3 class="form-section">Fee Details</h3> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Receipt No</label> <div class="controls"> <input type="disabled" class="span12" name="receipt_no" value="--Auto-gen on save--" /> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">Payment Date</label> <div class="controls"> <input value="<?= date("d-m-Y"); ?>" type="text" name="fee_date" id="fee_date" class=" span12 calfocus required" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Payment Mode</label> <div class="controls"> <select name="payment_mode" id="payment_mode" class="required chosen span12" onchange="get_payment_mode(this.value, 'payment_mode_div','')"> <?php $payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc'); foreach ($payment_type as $value) { echo '<option value="' . $value['payment_type_id'] . '">' . $value["payment_type"] . '</option>'; } ?> </select> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">Remarks</label> <div class="controls"> <textarea name="fee_remarks" class="span12" id="fee_remarks"> </textarea> </div> </div> </div> </div> <div class="portlet box yellow" > <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i></div> </div> <div class="portlet-body" id='payment_mode_div'> </div> </div> <div class="portlet box yellow" > <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Fee Particular Details</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="student_tb"> <?php $fee_particular = $this->mastermodel->search_fee_particular(); ?> <tr> <th>Fee particulars</th> <th>Amount</th> <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th> </tr> <tr> <td> <select id="fee_particular_id" name="fee_particular_id" class="chosen valid required"> <option value="">Select</option> <?php foreach ($fee_particular['results']->result_array() as $list) { echo '<option value="' . $list['fee_particular_id'] . '">' . $list['fee_particular_name'] . '</option>'; } ?> </select> </td> <td> <input type="text" name="fee_term_amount" id="fee_term_amount" class="number required" /> </td> <td> <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> </table> </div> </div> <div class="form-actions"> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('student','viewinstudentsearch','search_fee_payment','view_fee','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>