?
Current Path : /home1/savoy/public_html/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/public_html/savoyglobal.net/sec_old/application/views/student/allocate_fee_payment.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <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>Allocate Fees</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('student/addinstudent/allocate_fee_payment/view_fee/1', $attributes); $student = $this->mastermodel->get_data_srow('student', $viewinfo->fee_student_id, 'student_id'); $batch = $this->mastermodel->get_data_joined('student_batch', 'batch', 'current_batch_id', 'batch_id', $viewinfo->fee_student_id, 'student_id'); ?> <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 class="single_page"> <?= $student->first_name . ' ' . $student->last_name; ?> </div> </div> <div class="section _100" > <label>Student No</label> <div class="single_page"> <?= $student->reg_no; ?> </div> </div> <div class="section _100" > <label>Gender</label> <div id="gender" class="single_page"> <?= $student->gender; ?> </div> </div> <div class="section _100" > <label>Nationality</label> <div id="nationality" class="single_page"> <?= $student->nationality; ?> </div> </div> <div class="section _100"> <label>Allocate to Batch</label> <div> <select name="student_batch_id" id="student_batch_id" class="required"> <option value="">Select</option> <?php foreach ($batch as $list) { ?> <option value="<?= $list['student_batch_id']; ?>"><?= $list['batch_no']; ?></option> <?php } ?> </select> </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 class="single_page"> <?= $viewinfo->fee_receipt_no; ?> </div> </div> <div class="section _100"> <label>Fee Date</label> <div class="single_page"> <?= date("d-m-Y"); ?> </div> </div> <div class="section _100"> <label>Course Amount</label> <div class="single_page"> <?= $viewinfo->fee_course_amount; ?> </div> </div> <div class="section _100"> <label class="single_page">Registration Fee </label> <div> <?= $viewinfo->fee_registration_amount; ?> </div> </div> <div class="section _100"> <label class="single_page">Book Fee </label> <div> <?= $viewinfo->book_fee_amount; ?> </div> </div> <div class="section _100"> <label>Payment Mode</label> <div> <select name="payment_mode" disabled id="payment_mode" class="required chzn-done" onchange="select_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'] . '"'; if ($viewinfo->payment_mode == $value['payment_type_id']) echo "selected";echo' >' . $value["payment_type"] . '</option>'; } ?> </select> </div> </div> <div class="section _100"> <label>Remarks</label> <div class="single_page"> <?= $viewinfo->fee_payment_remarks; ?> </div> </div> </div> </div> </div> <div class="grid_12"> <div class="box" id='payment_mode_div'> <?php if ($viewinfo->payment_mode == 2) { $cheque = $this->mastermodel->get_data_srow('fee_payment_cheque_info', $viewinfo->fee_payment_id, 'fee_payment_id'); ?> <div class="content no-padding"> <div class="header main"> Payment Details</div> <table class="table"> <tr> <th>Cheque Date</th> <th>Cheque No</th> <th>Cheque Info</th> </tr> <tr> <td> <?= $this->mastermodel->convertdatenormalformat($cheque->cheque_date) ?> </td> <td> <?= $cheque->cheque_no ?> </td> <td> <?= $cheque->cheque_info ?> </td> </tr> </table> </div> <?php } else if ($viewinfo->payment_mode == 3) { $wire_info = $this->mastermodel->get_data_srow('fee_payment_wire_info', $viewinfo->fee_payment_id, 'fee_payment_id'); ?> <div class="content no-padding"> <div class="header main"> Payment Details</div> <table class="table"> <tr> <th>Wire Info</th> <td> <?= $wire_info->wire_info ?> </td> </tr> </table> </div> <?php } ?> </div> </div> <div class="grid_12" id="sub"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="fee_payment_id" value="<?= $viewinfo->fee_payment_id; ?>"/> </div> <div class="actions-right"> <button type="submit" id="submit1" class="clickimage" onclick="addformdata('validateform')">Post</button> </div> </div> </div> </div> <?php echo form_close(); ?>