?
Current Path : /home1/savoy/public_html/savoyglobal.net/cocorico/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/public_html/savoyglobal.net/cocorico/application/views/student/post_fee_setting.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('accounting/accountingfunctions'); ?> <script src="<?= base_url() ?>assets/scripts/jquery.autocomplete.js"></script> <script type="text/javascript"> function close_modal() { $('#payment_vouchar_div').modal('hide'); } $(document).ready(function(){ checkfiscalyear(); suggest_bank_account('#bankacc'); $('.calfocus').datepick({dateFormat: 'dd-mm-yyyy'}); $('#close_modal').click(function(){ close_modal(); return true; }); }); function submit_post() { addformdata('validateform'); } </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> Create Receipt Voucher For Fee Payment</div> <div class="tools"> <a href="#" id="close_modal" class="remove"></a> </div> </div> <div class="portlet-body form"> <div id="viewmsg" style="width: 100%;float: left;height: 25px;"></div> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('student/addinstudent/set_receipt_voucher_fee_settings/view_fee_posted/1', $attributes); $payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc'); ?> <input type="hidden" name="transaction_id" value="2"/> <div class="clean"></div> <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"><span class="text bold"> <?= $student_class_details->first_name . $student_class_details->last_name ?> <input readonly="readonly" type="hidden" name="student_id" id="student_id" value="<?= $student_class_details->student_id ?>" /> </span></div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">Student Reg No: </label> <div class="controls" id="reg_no" ><span class="text bold"> <?= $student_class_details->reg_no ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Gender:</label> <div class="controls" id="gender"><span class="text bold"> <?= $student_class_details->gender ?></span> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">Nationality: </label> <div class="controls" id="nationality"><span class="text bold"> <?= $this->mastermodel->get_single_field_value('nationality', 'nationality_name', 'nationality_id', $student_class_details->nationality_id) ?> </span></div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Class Code:</label> <div class="controls"><span class="text bold"> <?= $student_class_details->class_name_code ?> <input readonly="readonly" type="hidden" name="class_name_code" id="class_name_code" value="<?= $student_class_details->class_name_code ?>" /> <input readonly="readonly" type="hidden" name="class_name_id" id="class_name_id" value="<?= $student_class_details->class_name_id ?>" /> </span></div> </div> </div> </div> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i> Student Fee Payment Details</div> </div> <div class="portlet-body form"> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Account Code</label> <div class="controls"> <?php $student_acc = $this->mastermodel->get_data_srow('finance_chart_master', $student_class_details->reg_no, 'chart_account_code'); if (empty($student_acc)) { $this->studentmodel->insert_student_account_code($student_class_details->reg_no, $student_class_details->first_name, $student_class_details->last_name); $student_acc = $this->mastermodel->get_data_srow('finance_chart_master', $student_class_details->reg_no, 'chart_account_code'); } ?> <input type="text" name="payment_to" id="payment_to" value='<?= $student_acc->chart_account_code ?>' class="required payment_account" /> <input type="hidden" name="payment_to_id" id="payment_to_id" value="<?= $student_acc->chart_master_id . '~' . $student_acc->chart_account_code . '~' . $student_acc->chart_account_name ?>" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Amount </label> <div class="controls" > <input class="w_90 number required text_r" readonly="readonly" value="<?= $viewinfo->total_amount ?>" type="text" name="amount" id="amount"/> </div> </div> </div> </div> </div> </div> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i> Bank Account Deposit Entry</div> </div> <div class="portlet-body form"> <table class="table table-striped table-hover table-bordered" id="sample_3"> <tr> <th>Transaction No: </th> <th>To:</th> <th>Date:</th> <th>Payment Method</th> </tr> <tr> <td><input readonly="readonly" class="span12"type="text" value="--Auto Generated--"/></td> <td> <input type="text" name="bankacc" id="bankacc" value='' class="span12required" /> <input type="hidden" name="bankacc_id" id="bankacc_id" /> </td> <td><input class="span12 required calfocus" type="text" name="journal_date" id="journal_date"/></td> <td> <select name="payment_type_id" id="payment_type_id" class="required chosen span12" onchange="select_payment_mode(this.value,'payment_mode','')"> <?php foreach ($payment_type as $value) { echo '<option value="' . $value['payment_type_id'] . '">' . $value["payment_type"] . '</option>'; } ?> </select> </td> </tr> </table> <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> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="student_class_id" id="student_class_id" value="<?= $viewinfo->student_class_id ?>"/> <input type="hidden" name="resfunction" value="search_fee_payment"/> <input type="hidden" name="fee_id" value="<?= $viewinfo->fee_id ?>" id="fee_id"/> <input type="hidden" name="table" value="fee"/> <button type="submit" onclick="checkdatavalidity($('input#bankacc_id').val(), 'bankacc', 'No existing Bank Account selected'); submit_post();" class="btn blue"><i class="icon-ok"></i> Save</button> </div> <?php echo form_close(); ?> </div> </div> </div> </div>