?
Current Path : /home1/savoy/public_html/savoyglobal.net/busybees/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/busybees/application/views/student/single_student_fee.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $stud = array(0); $index = 0; ?> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); //echo form_open('student/addinstudent/update_student_fee/view_student_class/1', $attributes); echo form_open('student/update_student_fee', $attributes); ?> <div class="icons_main"> <div class="icons_caption"> <h4> <?= $class_details->first_name; ?> 's Fee Details</h4> </div> </div> <div class="grid_12" style="width: 95%"> <div class="box"> <div class="header main">Student Details</div> <div class="content no-padding" > <table class="table" cellpadding="0" cellspacing="0" id="tbl1"> <tr> <th>Student Name</th> <th>Reg No</th> <th>Date of Allotment</th> <th>Term</th> <th>Class Name</th> </tr> <tr> <td><?= $class_details->first_name." ".$class_details->last_name; ?></td> <td><?= $class_details->reg_no; ?></td> <td><?= $this->mastermodel->convertdatenormalformat($class_details->class_allocation_date) ?></td> <td> <?= $this->mastermodel->get_single_field_value('term', 'term_name', 'term_id', $class_details->term_id); ?></td> <td><?= $class_details->class_name_code ?></td> </tr> </table> </div> </div> </div> <div class="grid_12" style="width: 95%"> <div class="box"> <div class="header main">Student Fee Details</div> <div class="content no-padding" > <table class="table" cellpadding="0" cellspacing="0" id="tbl1"> <tr> <th>Sl</th> <th>Fee Particulars</th> <th>Payment Period</th> <th> Amount</th> </tr> <?php $i = 0; foreach ($student_fee_details as $list) { $i++; ?> <tr> <td><?= $i ?></td> <td> <?= $list['fee_particular_name'] ?> </td> <td> <?= ($list['payment_type'] == "monthly") ? "Monthly" : "Termwise"; ?> <td> <div id="first_month_div_<?= $i ?>" style="width: 400px;float: right"> <?php if ($list['payment_type'] == "monthly") { $j = 1; foreach ($student_monthly_fee_details[$list['student_class_fee_id']] as $month_fee) { if ($j == 1) { ?> <label style="display: block;width: 200px;float: left;">WEF Date</label> <label style="display: block;width: 200px;float: right;text-align: right;">Amount</label> <?php } ?> <p> <span style="display: block;width: 200px;float: left;"><?=date('M- Y ',strtotime($month_fee['fee_wef_date'])) ?></span> <span style="display: block;width: 200px;float: right;text-align: right;"><?= $month_fee['amount'] ?></span> </p> <?php $j++; } ?> <?php } if ($list['payment_type'] == "term"){ ?> <p> <span style="display: block;width: 200px;float: right;text-align: right;"><?= $list['fee_amount'] ?></span> </p> <?php } ?> </div> </td> </tr> <?php } ?> </table> </div> </div> </div> <?php echo form_close(); ?>