?
Current Path : /home1/savoy/www/oscarerp.com/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/www/oscarerp.com/application/views/student/load_student_fee_details.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="grid_12"> <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>Select</th> <th>Fee Particulars</th> <th>No of Days</th> <th>Payment Period</th> <th>Amount</th> </tr> <?php $i = 0; $term = $term; $academic_year_id = $academic_year; $term_academic_details = $this->mastermodel->get_data_dual_srow('term_academic_details', $term, 'term_id', $academic_year_id, 'academic_year_id'); $start = $term_academic_details->term_start_date; $end = $term_academic_details->term_end_date; foreach ($fee_deatils as $list) { $dt = $term_academic_details->term_start_date; $i++; ?> <tr> <td> <input type="checkbox" name="add_fee_particular[]" value="<?= $i ?>"/> </td> <td> <?= $list['fee_particular_name'] ?> <input type="hidden" value="<?= $list['fee_particular_id'] ?>" name="particular_id_<?= $i ?>" id="particular_id_<?= $i ?>"/> </td> <td> <?= $list['fee_term_no_of_days'] ?> </td> <td> <select class="chzn-done medium1" name="payment_type_<?= $i ?>" id="payment_type_<?= $i ?>" onchange="getFeeParticularAmount(<?= $list['id'] ?>,this.value,<?= $i ?>)"> <option value="">Select</option> <option value="monthly">Monthly</option> <option value="term">TermWise</option> </select> </td> <td> <div class="clear"></div> <div id="first_month_div_<?= $i ?>" style="display: none"> <?php $j = 1; while (strtotime($dt) <= strtotime($end)) { $month = date('M', strtotime($dt)); $year = date('Y', strtotime($dt)) ?> <input style="width: 150px;float: left;" type="" readonly="" value="<?= date('F -Y', strtotime($dt)) ?>"/> <input class="pay_amount<?= $i ?>" name="pay_amount_<?= $i . '_' . $j ?>" style="width: 150px;float: right; clear: right;text-align: right" value="0"/> <input name="wef_date_<?= $i . '_' . $j ?>" type="hidden" value="<?= $year . '-' . $month . '-01' ?>"> <div class="clear"></div> <?php $dt = date('Y-m-01', strtotime("+1 months", strtotime($dt))); $j++; } ?> </div> <input style="width: 150px;float: right; clear: right;text-align: right;" name="pay_amount_<?= $i ?>" id="pay_amount_<?= $i ?>" class="medium1" sty /> <input type="hidden" name="fee_details_id_<?= $i ?>" id="fee_details_id_<?= $i ?>" value="<?= $list['id'] ?>" /> </td> </tr> <?php } ?> </table> <input type="hidden" name="student_class_id" value="<?= $student_class_id; ?>"/> <input id="index" name="index" value="<?= $i ?>" type="hidden"/> </div> </div> </div>