?
Current Path : /home1/savoy/www/oscarerp.com/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/oscarerp.com/application/views/student/add_fee_payment.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'); }); </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_payment','view_fee','<?= $_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_payment/view_fee/1', $attributes); ?> <div class="clean"></div> <div class="grid_6" > <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('#student,#student_id,')" /> <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> </div> </div> <div class="grid_6" > <div class="box"> <div class="header main no-icon"> Fee Details </div> <div class="content no-padding"> <div class="section _100"> <label>Receipt No</label> <div> <input type="disabled" name="receipt_no" value="--Auto-gen on save--" /> </div> </div> <div class="section _100"> <label>Payment Date</label> <div> <input value="<?=date("d-m-Y");?>" type="text" name="fee_date" id="fee_date" class="calfocus required" /> </div> </div> <div class="section _100"> <label>Payment Mode</label> <div> <select name="payment_mode" id="payment_mode" class="required chzn-done" 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> <?php ?> <div class="section _100"> <label>Remarks</label> <div> <textarea name="fee_remarks" id="fee_remarks"> </textarea> </div> </div> </div> </div> </div> <div class="grid_12"> <div class="box" id='payment_mode_div'> </div> </div> <div class="grid_12" > <div class="box"> <div class="content no-padding"> <div class="header main">Fee Particular Details</div> <?php $fee_particular = $this->mastermodel->getdatas('fee_particular'); ?> <table class="table" id="student_tb"> <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="chzn-done valid required"> <option value="">Select</option> <?php foreach ($fee_particular 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="num_only required" /> </td> <td> <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> </table> </div> </div> </div> <div class="grid_12" id="sub"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button type="submit" id="submit1" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close(); ?>