?
Current Path : /home1/savoy/public_html/savoyglobal.net/eldertree/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/eldertree/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; ?> <script type="text/javascript"> function close_modal() { $('#payment_vouchar_div').modal('hide'); } $(document).ready(function(){ $('.calfocus').datepick({dateFormat: 'dd-mm-yyyy'}); $('#close_modal').click(function(){ close_modal(); return true; }); }); </script> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i> <?= $class_details->first_name; ?> 's Fee Details</div> <div class="tools"> <a href="#" id="close_modal" 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/update_student_fee', $attributes); ?> <div class="portlet box yellow" > <div class="portlet-title"> <div class="caption"><i class="icon-check"></i>Student Details</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" 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> <tr> <td>Days</td> <td colspan="4"> <?php $week = array(); if ($class_details->student_class_days != "") { $week = explode(',', $class_details->student_class_days); } ?> <input type="checkbox" name="student_class_days[]" value="0" <?= (in_array(0, $week)) ? "checked" : "" ?>/>Sunday <input type="checkbox" name="student_class_days[]" value="1" <?= (in_array(1, $week)) ? "checked" : "" ?>/>Monday <input type="checkbox" name="student_class_days[]" value="2" <?= (in_array(2, $week)) ? "checked" : "" ?>/>Tuesday <input type="checkbox" name="student_class_days[]" value="3" <?= (in_array(3, $week)) ? "checked" : "" ?>/>Wednesday <input type="checkbox" name="student_class_days[]" value="4" <?= (in_array(4, $week)) ? "checked" : "" ?>/>Thursday <input type="checkbox" name="student_class_days[]" value="5" <?= (in_array(5, $week)) ? "checked" : "" ?>/>Friday <input type="checkbox" name="student_class_days[]" value="6" <?= (in_array(6, $week)) ? "checked" : "" ?>/>Saturday </td> </tr> </table> </div> </div> <div class="portlet box yellow" > <div class="portlet-title"> <div class="caption"><i class="icon-check"></i>Student Fee Details</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" 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> <input type="hidden" value="<?= implode(',', $stud) ?>" name="list_stud_id" id="list_stud_id" /> <input id="index" name="index" value="<?= $index ?>" type="hidden"/> <div id="sl"></div> <?php echo form_close(); ?> </div> </div> </div> </div> </div>