?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/application/views/student/single_fee_payment.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <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> Unallocated fee payment details</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_fee_payment','view_fee','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <div class="form-horizontal form-view form-bordered"> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal 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'); ?> <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->first_name . ' ' . $student->last_name; ?> </span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Student No</label> <div class="controls"> <span class="text bold"> <?= $student->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->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"> <?= $student->nationality; ?> </span> </div> </div> </div> </div> <?php $allocated = $this->mastermodel->get_data_srow_joined('fee_payment', 'fee', 'fee_receipt_no', 'fee_receipt_no', $viewinfo->fee_payment_id, 'fee_payment_id'); if (!empty($allocated)) { ?> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Batch</label> <div class="controls" > <span class="text bold"> <?php $batch = $this->mastermodel->get_data_srow_joined('student_batch', 'batch', 'current_batch_id', 'batch_id', $allocated->student_batch_id, 'student_batch_id'); echo $batch->batch_no; ?> </span> </div> </div> </div> </div> <?php } ?> <h3 class="form-section">Fee Details</h3> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Receipt No</label> <div class="controls"><span class="text bold"> <?= $viewinfo->fee_receipt_no; ?> </span> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">Payment Date</label> <div class="controls"><span class="text bold"> <?= $this->mastermodel->convertdatenormalformat($viewinfo->fee_payment_date); ?> </span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Course Amount</label> <div class="controls"><span class="text bold"> <?= $viewinfo->fee_course_amount; ?></span> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">Registration Fee</label> <div class="controls"><span class="text bold"> <?= $viewinfo->fee_registration_amount; ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Books Fee</label> <div class="controls"><span class="text bold"> <?= $viewinfo->book_fee_amount; ?></span> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">Payment Mode</label> <div class="controls"><span class="text bold"> <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></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Remarks</label> <div class="controls"><span class="text bold"> <?= $viewinfo->fee_payment_remarks; ?> </span> </div> </div> </div> </div> </div> </div> </div> <div class="portlet box blue" > <div class="portlet-title"> <div class="caption"><i class="icon-check"></i> Payment Details</div> </div> <div class="portlet-body" 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 } else if ($viewinfo->payment_mode == 4) { $card_info = $this->mastermodel->get_data_srow('fee_payment_credit_card_info', $viewinfo->fee_payment_id, 'fee_payment_id'); ?> <table class="table table-striped table-hover table-bordered""> <tr> <th>Card Info</th> <td> <?= $card_info->credit_card_info ?> </td> </tr> </table> <?php } ?> </div> </div> <?php echo form_close(); ?>