?
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/single_fee.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_posted','view_fee_posted','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4> Student Details</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('student/addinstudent/update_student/view_student/1', $attributes); $course_last_paid = 0; $registration_last_paid = 0; $extra_last_paid = 0; $books_last_paid = 0; foreach ($fee_paid_details as $value) { if ($value['fee_type'] == "course") $course_last_paid = $value['amount_paid']; if ($value['fee_type'] == "registration") $registration_last_paid = $value['amount_paid']; if ($value['fee_type'] == "extraclass") $extra_last_paid = $value['amount_paid']; if ($value['fee_type'] == "books") $books_last_paid = $value['amount_paid']; } ?> <div class="grid_6"> <div class="box"> <div class="header main">Personal Details </div> <div class="content no-padding"> <div class="section _100"> <label>Student No</label> <div class="single_page"> <?= $student->reg_no; ?> </div> </div> <div class="section _100"> <label>First Name</label> <div class="single_page"> <?= $student->first_name; ?> </div> </div> <div class="section _100"> <label>Last Name</label> <div class="single_page"> <?= $student->last_name; ?> </div> </div> <div class="section _100"> <label>Batch</label> <div class="single_page"> <?= $batch_details->batch_no ?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main">Personal Details</div> <div class="content no-padding"> <div class="section _100"> <label>Gender</label> <div class="single_page"> <?= $student->gender ?> </div> </div> <div class="section _100"> <label>Nationality </label> <div class="single_page"> <?= $student->nationality ?> </div> </div> </div> </div> </div> <div class="clear"></div> <div class="grid_6"> <div class="box"> <div class="header main no-icon"> Fee Payment </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>Date</label> <div class="single_page"> <?= $this->mastermodel->convertdatenormalformat($viewinfo->fee_date) ?> </div> </div> <div class="section _100"> <label>Course Fee Last Paid</label> <div class="single_page"> <?= $course_last_paid ?> </div> </div> <div class="section _100"> <label>Registration Fee Last Paid</label> <div class="single_page"> <?= $registration_last_paid ?> </div> </div> <div class="section _100"> <label>Extra Class Fee Last Paid</label> <div class="single_page"> <?= $extra_last_paid ?> </div> </div> <div class="section _100"> <label>Books Fee Last Paid</label> <div class="single_page"> <?= $books_last_paid ?> </div> </div> <div class="section _100"> <label>Payment Mode</label> <div class="single_page"> <?php $payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc'); foreach ($payment_type as $value) { if ($viewinfo->payment_mode == $value['payment_type_id']) echo $value["payment_type"]; } ?> </div> </div> <?php if ($viewinfo->payment_mode == 2) { $cheque = $this->mastermodel->get_data_srow('fee_cheque_info', $viewinfo->fee_id, 'fee_id'); ?> <div class="section _100"> <label>Cheque Date</label> <div class="single_page"> <?= $this->mastermodel->convertdatenormalformat($cheque->cheque_date) ?> </div> </div> <div class="section _100"> <label>Cheque No</label> <div class="single_page"> <?= $cheque->cheque_no ?> </div> </div> <div class="section _100"> <label>Cheque Info</label> <div class="single_page"> <?= $cheque->cheque_info ?> </div> </div> <?php } else if ($viewinfo->payment_mode == 3) { $wire_info = $this->mastermodel->get_data_srow('fee_wire_info', $viewinfo->fee_id, 'fee_id'); ?> <div class="section _100"> <label>Wire Info</label> <div class="single_page"> <?= $wire_info->wire_info ?> </div> </div> <?php } ?> <div class="section _100"> <label>Remarks</label> <div class="single_page"> <?=$viewinfo->remarks?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main no-icon"> Course Fee Details </div> <div class="content no-padding"> <div class="section _100"> <label>Registration Fee</label> <div class="single_page"> <?= $reg_fee ?> <input value="<?= $reg_fee ?>" type="hidden" name="reg_fee" id="reg_fee" class=" f_left" readonly="readonly"/> </div> </div> <div class="section _100"> <label>Registration Fee Pending</label> <div class="single_page"> <?= $reg_fee - $reg_paid_amount ?> <!-- <input type="hidden" value="<?= $reg_fee - $reg_paid_amount + $registration_last_paid ?>" name="reg_fee_pending" id="reg_fee_pending" class=" f_left" readonly="readonly"/> --> </div> </div> <div class="section _100"> <label>Course Fee</label> <div class="single_page"> <?= $course_fee ?> <!-- <input type="hidden" name="course_fee" id="course_fee" class=" f_left" readonly="readonly"/> --> </div> </div> <div class="section _100"> <label>Paid Amount</label> <div class="single_page"> <?= $paid_amount ?> <!-- <input type="hidden" value="<?= $paid_amount ?>" name="paid_amount" id="paid_amount" class=" f_left" readonly="readonly"/> --> </div> </div> <div class="section _100"> <label>Amount Pending</label> <div class="single_page"> <?= $course_fee - $paid_amount ?> <!-- <input type="hidden" value="<?= $course_fee - $paid_amount + $course_last_paid ?>" name="pending_amount" id="pending_amount" class=" f_left" readonly="readonly"/> --> </div> </div> <div class="section _100"> <label>Extra Class Fee</label> <div class="single_page"> <?php if($extra_class_fee!=null) echo $extra_class_fee; else echo '0'; ?> <!-- <input type="hidden" value="<?= $extra_class_fee ?>" name="extra_fee" id="extra_fee" class=" f_left" readonly="readonly"/> --> </div> </div> <div class="section _100"> <label>Extra Class Fee Pending</label> <div class="single_page"> <?= $extra_class_fee - $extra_last_paid ?> <!-- <input type="hidden" value="<?= $extra_class_fee - $extra_class_fee_paid + $extra_last_paid ?>" name="extra_fee_pending" id="extra_fee_pending" class=" f_left" readonly="readonly"/> --> </div> </div> <div class="section _100"> <label>Books Fee</label> <div class="single_page"> <?= $books_fee ?> </div> </div> <div class="section _100"> <label>Books Fee Pending</label> <div class="single_page"> <?= $books_fee - $books_paid_amount ?> </div> </div> <div class="section _100"> <label>No of sessions</label> <div class="single_page"> <?= $no_sessions ?> <!-- <input type="hidden" value="<?= $no_sessions ?>" name="no_sessions" id="no_sessions" class=" f_left" readonly="readonly"/> --> </div> </div> <div class="section _100"> <label>Monthly Payments</label> <div class="single_page"> <?= $session_amount ?> <input type="hidden" value="<?= $session_amount ?>" name="session_amount" id="session_amount" class=" f_left" readonly="readonly"/> </div> </div> </div> </div> </div> <?php echo form_close(); ?> <?php $data['master_id'] = $student->student_id; $data['controller'] = 'student'; $data['controller_function'] = 'viewinstudentsearch'; $data['page'] = 'view_student'; $data['model_function'] = 'search_student'; $this->load->view('master/uploaded_files', $data); echo form_close(); ?>