?
Current Path : /home1/savoy/public_html/oscarerp.com/application/views/accounting/ |
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/oscarerp.com/application/views/accounting/add_student_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> $(document).ready(function() { suggest_bank_account('#bankacc'); suggestStudent('#student'); }); </script> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_student_payment', 'view_student_payment', '<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating Student Payment</h4> </div> </div> <div id="viewmsg" style="width: 100%;float: left;height: 25px;"></div> <?php $payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc'); $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('accounting/addinaccounting/insert_student_payment/view_student_payment/1', $attributes); ?> <input type="hidden" name="transaction_id" value="2"/> <div class="grid_6"> <div class="box"> <div class="content no-padding"> <div class="header main"> Student Payment</div> <table class="table"> <tr> <td>Student Name</td> <td> <input type="text" name="student" id="student" style="width: 300px;" onchange="empty_text('student_id')" class="required" /> <input type="hidden" name="student_id" id="student_id" /> </td> </tr> <tr> <td>Account Code</td> <td> <input type="text" name="account_code" id="account_code" readonly /> </td> </tr> <tr> <td>Date</td> <td> <input class="w_90 required calfocus" type="text" name="journal_date" id="journal_date" style="width: 200px;" /> </td> </tr> <tr> <td>Amount</td> <td><input class="w_90 text_r required auto" type="text" name="amount" id="amount" style="width: 200px;" /></td> </tr> <tr> <td>Payment Method</td> <td> <select name="payment_type_id" id="payment_type_id" class="required chzn-done" onchange="select_payment_mode(this.value, 'payment_mode','PV')"> <?php foreach ($payment_type as $value) { echo '<option value="' . $value['payment_type_id'] . '">' . $value["payment_type"] . '</option>'; } ?> </select> </td> </tr> </table> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="content no-padding"> <div class="header main"> </div> <table class="table"> <tr> <td>Transaction No: </td> <td><input class="w_90 " type="text" name="transaction_no" readonly="readonly" value="auto-generated" id="course"/></td> </tr> <tr> <td>Description</td> <td><textarea name="description" id="description" style="width:350px;height:110px"></textarea></td> </tr> <tr> <td>To Account</td> <td> <input type="text" name="bankacc" id="bankacc" value='' class="required" /> <input type="hidden" name="bankacc_id" id="bankacc_id" /> </td> </tr> </table> </div> </div> </div> <div class="grid_12"> <div class="box" id='payment_mode'> </div> </div> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button type="submit" id="button1" class="clickimage" onclick=" checkdatavalidity($('#from_account_id').val(),'from_account','From Account not in List'); addformdata('validateform')">Process Payment</button> </div> </div> </div> </div> <?php echo form_close(); ?>