?
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/editfee.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('student/addinstudent/updatefee/viewfee/1/',$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','<?=$_SESSION['pagenum'];?>')"> <img src="<?=base_url()?>assets/images/backicon.png" alt="back-icon" title="Back"/> </a> </div> <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"> <span class="input_wrapper"><input class="text required calfocus" name="fee_date" id="fee_date" type="text" value="<?=$this->mastermodel->convertdatenormalformat($fee->fee_date);?>" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Payment Mode</label> <div class="inputs"> <textarea name="payment_mode" id="payment_mode"><?=$fee->payment_mode;?></textarea> </div> </div> <!--[if !IE]>end row<![endif]--> <div class="row"> <label>Remarks</label> <div class="inputs"> <textarea name="remarks" id="remarks"><?=$fee->remarks;?></textarea> </div> </div> <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>Amount</th> <th>Discount(%)</th> <th>Paid Amount</th> </tr> </thead> <tbody> <?php $i=0; $total_fee=0; $total_actual=0; foreach($fee_particular as $fee) { $i++; ?> <tr> <td> <?=$fee['fee_category'];?> <input type="hidden" name="fee_category_<?=$i;?>" class="required field text" id="fee_category_<?=$i;?>" value="<?=$fee['fee_category'];?>"> </td> <td style="text-align:right"><?=number_format($fee['fee_actual']);?><input type="hidden" name="fee_amount_<?=$i;?>" class="required field text" id="fee_amount_<?=$i;?>" onblur="gettotal()" value="<?=$fee['fee_actual'];?>"/></td> <td><input type="text" name="discount_amount_<?=$i;?>" class="required field text" id="discount_amount_<?=$i;?>" value="<?=$fee['fee_discount'];?>" onblur="getpaidamount('<?=$i;?>')" value="0"/></td> <td><input type="text" name="paid_amount_<?=$i;?>" class="required field text" id="paid_amount_<?=$i;?>" onblur="gettotal()" value="<?=$fee['fee_amount'];?>"/></td> </tr> <?php $total_actual+=$fee['fee_actual']; $total_fee+=$fee['fee_amount']; } ?> <input type="hidden" name="norows" id="norows" value="<?=$i;?>"/> <tr> <td><strong>Total</strong></td> <td style="text-align:right"><strong><span id="total"><?=number_format($total_actual);?></span></strong></td> <td></td> <td><strong><span id="total_paid"><?=number_format($total_fee);?></span></strong></td> </tr> </tbody> </table> </div> </div> </div> <!--[if !IE]>start row<![endif]--> <div class="row"> <div class="inputs"> <input type="hidden" name="tab_name" value="fee"/> <span class="button blue_button search_button" onclick="addformdata('validateform')"><span><span><em>Update Fee Details</em></span></span><input name="" type="submit" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> </fieldset> </div> <!--[if !IE]>end forms<![endif]--> <!--[if !IE]>end fieldset<![endif]--> <?php echo form_close(); ?> <span class="section_content_bottom"></span>