?
Current Path : /home1/savoy/public_html/savoyglobal.net/simsdemo/school/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/simsdemo/school/application/views/Student/singlefee.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <span class="section_content_top"></span> <div class="section_content_inner"> <?php $attributes=array('class'=>'search_form','id'=>'validateform'); echo form_open('',$attributes); ?> <!--[if !IE]>start fieldset<![endif]--> <fieldset> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <div class="backicon"> <a href="#" onclick="viewdata('student','viewinstudentsearch','searchfee','viewfee','1')";> <img src="<?=base_url()?>assets/images/backicon.png" alt="back-icon" title="Back"/> </a> </div> <h3>Fee Details</h3> <input type="hidden" name="masterid" value="<?=$fee->fee_id;?>"/> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Student Name</label> <div class="inputs"> <?php $student = $this->mastermodel->get_data_srow('student',$fee->student_id,'student_id'); echo $student->first_name." ".$student->last_name; ?> </div> </div> <div class="row"> <label>Fee Collection Type</label> <div class="inputs"> <?php $feecollection = $this->mastermodel->get_data_srow('feecollection',$fee->feecollection_id,'feecollection_id'); $feecreate = $this->mastermodel->get_data_srow('feecreate',$feecollection->feecollection_feecreate_id,'feecreate_id'); ?> <?=$this->mastermodel->getSingleFieldValue('feeterm','feeterm_name','feeterm_id',$feecreate->feeterm_id)?> - <?=$this->mastermodel->getSingleFieldValue('classlevel','classlevel_code','classlevel_id',$feecreate->feecreate_classlevel_id)?> </div> </div> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Date</label> <div class="inputs"> <?=$this->mastermodel->convertdatenormalformat($fee->fee_date);?> </div> </div> <!--[if !IE]>end row<![endif]--> <div class="row"> <label>Payment Mode</label> <div class="inputs"> <?=$fee->payment_mode;?> </div> </div> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Remarks</label> <div class="inputs"> <?=$fee->remarks;?> </div> </div> <!--[if !IE]>end row<![endif]--> <br/><br/><br/><br/><br/><br/><br/><br/><br/> <div class="table_wrapper"> <div class="table_wrapper_inner"> <table cellpadding="0" cellspacing="0" width="100%"> <thead> <tr> <th colspan="4" style="text-align: left;">Fee Particulars</th> </tr> <tr> <th>Category</th> <th style="text-align:right">Amount</th> <th style="text-align:right">Discount(%)</th> <th style="text-align:right">Paid</th> </tr> </thead> <tbody> <?php $i=0; $total_actual=0; $total_fee=0; foreach($fee_particular as $fee) { $i++; ?> <tr> <td> <?=$fee['fee_category'];?> </td> <td style="text-align:right"><?=number_format($fee['fee_actual'],2);?></td> <td style="text-align:right"><?=number_format($fee['fee_discount'],2);?></td> <td style="text-align:right"><?=number_format($fee['fee_amount'],2);?></td> </tr> <?php $total_fee+=$fee['fee_amount']; $total_actual+=$fee['fee_actual']; } ?> <tr> <td><strong>Total</strong></td> <td style="text-align:right"><strong><?=number_format($total_actual,2);?></strong></td> <td style="text-align:right"></td> <td style="text-align:right"><strong><?=number_format($total_fee,2);?></strong></td> </tr> </tbody> </table> </div> </div> </div> </fieldset> </div> <!--[if !IE]>end forms<![endif]--> <!--[if !IE]>end fieldset<![endif]--> <?php echo form_close(); ?> <span class="section_content_bottom"></span>