?
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.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> Fee Payment</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_fee_posted','view_fee_posted','<?= $_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/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']; } ?> <h3 class="form-section">Personal Details</h3> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Student No</label> <div class="controls" id="reg_no"> <span class="text bold"><?= $student->reg_no; ?></span> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">First Name</label> <div class="controls"> <span class="text bold"> <?= $student->first_name; ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Last Name</label> <div class="controls"> <span class="text bold"> <?= $student->last_name; ?></span> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">Batch</label> <div class="controls" > <span class="text bold"><?= $batch_details->batch_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"> <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" > <span class="text bold"><?= $student->nationality ?></span> </div> </div> </div> </div> <h3 class="form-section">Fee Payment</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">Date</label> <div class="controls" > <span class="text bold"> <?= $this->mastermodel->convertdatenormalformat($viewinfo->fee_date) ?> </span> </div> </div> </div> </div> <div class="row-fluid" > <div class="span6"> <div class="control-group" > <label class="control-label">Course Fee Last Paid</label> <div class="controls" > <span class="text bold"> <?= $course_last_paid ?> </span> </div> </div> </div> <div class="span6"> <div class="control-group" > <label class="control-label">Registration Fee Last Paid</label> <div class="controls" > <span class="text bold"> <?= $registration_last_paid ?> </span> </div> </div> </div> </div> <div class="row-fluid" > <div class="span6"> <div class="control-group" > <label class="control-label">Extra Class Fee Last Paid</label> <div class="controls" > <span class="text bold"> <?= $extra_last_paid ?> </span> </div> </div> </div> <div class="span6"> <div class="control-group" > <label class="control-label">Books Fee Last Paid</label> <div class="controls" > <span class="text bold"> <?= $books_last_paid ?> </span> </div> </div> </div> </div> <div class="row-fluid" > <div class="span6"> <div class="control-group" > <label class="control-label">Payment Mode</label> <div class="controls" > <span class="text bold"><?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"]; } ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group" > <label class="control-label">Remarks</label> <div class="controls" > <span class="text bold"> <?= $viewinfo->remarks ?></span> </div> </div> </div> </div> <div id='payment_mode_div'> <?php if ($viewinfo->payment_mode == 2) { $cheque = $this->mastermodel->get_data_srow('fee_cheque_info', $viewinfo->fee_id, 'fee_id'); ?> <table class="table table-striped table-hover table-bordered" id="sample_3" style="background-color: white;"> <tr> <th>Cheque Date</th> <th>Cheque No</th> <th>Cheque Info</th> </tr> <tr> <td> <input class="w_90 required" type="text" name="cheque_date" id="cheque_date" value="<?= $this->mastermodel->convertdatenormalformat($cheque->cheque_date) ?>"/> </td> <td> <input class="w_90 required num_only" type="text" name="cheque_no" id="cheque_no" value="<?= $cheque->cheque_no ?>"/> </td> <td> <textarea class=" required" name="cheque_info" id="cheque_info"><?= $cheque->cheque_info ?></textarea> </td> </tr> </table> <?php }else if ($viewinfo->payment_mode == 3) { $wire_info = $this->mastermodel->get_data_srow('fee_wire_info', $viewinfo->fee_id, 'fee_id'); ?> <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;"> <tr> <th>Wire Info</th> <td> <input class="w_90 required" type="text" name="wire_info" id="wire_info" style="width:250px;" value="<?= $wire_info->wire_info ?>"/> </td> </tr> </table> <?php } else if ($viewinfo->payment_mode == 4) { $card_info = $this->mastermodel->get_data_srow('fee_credit_card_info', $viewinfo->fee_id, 'fee_id'); ?> <table class="table table-striped table-hover table-bordered""> <tr> <th>Card Info</th> <td> <input class="w_90 required" type="text" name="card_info" id="card_info" style="width:250px;" value="<?= $card_info->credit_card_info ?>"/> </td> </tr> </table> <?php } ?> </div> <h3 class="form-section">Course Fee Details</h3> <div class="row-fluid" > <div class="span6"> <div class="control-group" > <label class="control-label">Registration Fee</label> <div class="controls" > <span class="text bold"> <?= $reg_fee ?> <input value="<?= $reg_fee ?>" type="hidden" name="reg_fee" id="reg_fee" class=" f_left" readonly="readonly"/> </span> </div> </div> </div> <div class="span6"> <div class="control-group" > <label class="control-label">Registration Fee Pending</label> <div class="controls" > <span class="text bold"> <?= $reg_fee - $reg_paid_amount ?> </span> </div> </div> </div> </div> <div class="row-fluid" > <div class="span6"> <div class="control-group" > <label class="control-label">Course Fee</label> <div class="controls" > <span class="text bold"> <?= $course_fee ?> </span> </div> </div> </div> <div class="span6"> <div class="control-group" > <label class="control-label">Paid Amount</label> <div class="controls" > <span class="text bold"> <?= $paid_amount ?> </span> </div> </div> </div> </div> <div class="row-fluid" > <div class="span6"> <div class="control-group" > <label class="control-label">Amount Pending</label> <div class="controls" > <span class="text bold"> <?= $course_fee - $paid_amount ?> </span> </div> </div> </div> <div class="span6"> <div class="control-group" > <label class="control-label">Extra Class Fee</label> <div class="controls" > <span class="text bold"> <?php if($extra_class_fee!=null) echo $extra_class_fee; else echo '0'; ?> </span> </div> </div> </div> </div> <div class="row-fluid" > <div class="span6"> <div class="control-group" > <label class="control-label">Extra Class Fee Pending</label> <div class="controls" > <span class="text bold"> <?= $extra_class_fee - $extra_last_paid ?> </span> </div> </div> </div> <div class="span6"> <div class="control-group" > <label class="control-label">Books Fee</label> <div class="controls" > <span class="text bold"> <?= $books_fee ?> </span> </div> </div> </div> </div> <div class="row-fluid" > <div class="span6"> <div class="control-group" > <label class="control-label">Books Fee Pending</label> <div class="controls" > <span class="text bold"><?= $books_fee - $books_paid_amount ?> </span> </div> </div> </div> <div class="span6"> <div class="control-group" > <label class="control-label">No of sessions</label> <div class="controls" > <span class="text bold"> <?= $no_sessions ?></span> </div> </div> </div> </div> <?php echo form_close(); ?> </div> </div> </div> </div> </div> <?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(); ?>