?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/savoyglobal.net/sec/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/scripts/jquery.autocomplete.js"></script> <script> $(document).ready(function() { suggest_bank_account('#bankacc'); suggestStudent('#student'); }); </script> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Creating Student Payment</div> <div class="tools"> <a href="#" onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_student_payment', 'view_student_payment', '<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); $payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc'); echo form_open('accounting/addinaccounting/insert_student_payment/view_student_payment/1', $attributes); ?> <h3> Student Payment </h3> <input type="hidden" name="transaction_id" value="2"/> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Student Name:</label> <div class="controls"> <input type="text" name="student" id="student" onchange="empty_text('student_id')" class="required span12" /> <input type="hidden" name="student_id" id="student_id" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Account Code:</label> <div class="controls"> <input type="text" name="account_code" id="account_code" class="span12" readonly /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Date: </label> <div class="controls"> <input class="span12 required calfocus" type="text" name="journal_date" id="journal_date" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Amount: </label> <div class="controls"> <input class="span12 text_r required auto" type="text" name="amount" id="amount" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Payment Method: </label> <div class="controls"> <select name="payment_type_id" id="payment_type_id" class="required chosen span12" 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> </div> </div> </div> </div> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i> </div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Transaction No: </label> <div class="controls"> <input class="span12 " type="text" name="transaction_no" readonly="readonly" value="auto-generated" id="course"/> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Description: </label> <div class="controls"> <textarea name="description" class="span12" id="description" ></textarea> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label"> To Account: </label> <div class="controls"> <input type="text" name="bankacc" id="bankacc" value='' class="required span12" /> <input type="hidden" name="bankacc_id" id="bankacc_id" /> </div> </div> </div> </div> </div> </div> <div class="portlet box blue" id="div_payment_details" style="display: none"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i>Payment details</div> </div> <div class="portlet-body" id="payment_mode"></div> </div> <div class="form-actions"> <input type="hidden" name="tab_name" value="student_payment"/> <input type="hidden" name="resfunction" value="search_student_payment"/> <button type="submit" onclick=" checkdatavalidity($('#from_account_id').val(),'from_account','From Account not in List'); addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Transfer Amount</button> <button type="button" onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_student_payment', 'view_student_payment', '<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>