?
Current Path : /home1/savoy/www/savoyglobal.net/sec_old/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/sec_old/application/views/student/post_student_cancellation.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() { checkfiscalyear(); $(".addRow_payment").btnAddRow({inputBoxAutoNumber: true}, function(row) { suggestchartaccount('.payment_account'); }); suggestchartaccount('.payment_account'); suggest_bank_account('#bankacc'); }); </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_cancellation','view_cancellation','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Student Cancellation - Creating Payment Voucher</h4> </div> </div> <div id="viewmsg" style="width: 100%;float: left;height: 25px;"></div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('student/addinstudent/post_student_cancellation/view_cancellation/1', $attributes); $payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc'); $student_info = $this->mastermodel->get_data_srow('student', $viewinfo->student_id, 'student_id'); $student_account=$this->mastermodel->get_data_srow('finance_chart_master', $student_info->reg_no, 'chart_account_code'); $student=$student_account->chart_account_code. "-" . $student_account->chart_account_name; ?> <input type="hidden" name="transaction_id" value="1"/> <input type="hidden" name="student" id="student" value="<?=$student_info->first_name.' '.$student_info->last_name?>"/> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main"> Bank Account Payment Entry</div> <table class="table"> <tr> <th>Transaction No: </th> <th>From:</th> <th>Date:</th> <th>Payment Method</th> </tr> <tr> <td><input readonly="readonly" type="text" value="--Auto Generated--" /></td> <td> <input type="text" name="bankacc" id="bankacc" value='' class="required" style="width: 265px"/> <input type="hidden" name="bankacc_id" id="bankacc_id" /> </td> <td> <input class="w_90 required" type="dateonly" name="journal_date" id="journal_date" value="<?= date('d-m-Y') ?>"/> </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> <?php // // $this->load->view('unique_form'); ?> <div class="grid_12"> <div class="box" id='payment_mode'> </div> </div> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main">Payment Items</div> <table class="table"> <tr> <th>Student Account</th> <th>Description</th> <th>Amount</th> </tr> <tr> <td> <input type="text" readonly="readonly" name="payment_to" id="payment_to" data-id='payment_to_id' value="<?= $student ?>" class="required payment_account" /> <input type="hidden" name="payment_to_id" id="payment_to_id" value="<?= $student_account->chart_master_id ?>"/> </td> <td><textarea name="description1" id="description"></textarea></td> <td><input value="<?= $viewinfo->refund_amount ?>" readonly="readonly" class="w_90 number required text_r auto" type="text" name="amount" id="amount" onblur="" /></td> </tr> </table> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"/> <input type="hidden" name="cancellation_id" id="cancellation_id" value="<?=$viewinfo->cancellation_id?>"/> </div> <div class="actions-right"> <button type="submit" id="button1" class="clickimage" onclick="checkamount('amount');checkdata('payment_to', 'payment_account','No existing Account selected') checkdatavalidity($('input#bankacc_id').val(), 'bankacc', 'No existing Bank Account selected') addformdata('validateform')">Process Deposit </button> </div> </div> </div> </div> <div style="height: 300px;"> </div> <?php echo form_close(); ?>