?
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/view_fee.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/add.png" title="Add Fee" class="clickimage" onclick="addformdisplay('add_fee_payment','student')" alt="Add Fee" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Fee Payment</h4> </div> </div> <div class="clean"></div> <div class="grid_12"> <div class="box"> <div class="header"> </div> <div class="content no-padding"> <table class="table"> <tr> <th><input type="radio" name="unposted" id="sg1" value="2" onchange="viewdata('student', 'viewinstudentsearch', 'search_fee_posted', 'view_fee_posted', '1')"></th><th><label>Fee Payment - Allocated</label></th> <th><input type="radio" name="unposted" id="cr1" value="3" checked="" onchange="viewdata('student', 'viewinstudentsearch', 'search_fee_payment', 'view_fee', '1')"></th><th><label>Fee Payment - Unallocated</label></th> </tr> </table> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="header no-icon main">Fee Payment - Unallocated</div> <div class="content"> <table id="table-example" class="table"> <thead> <tr> <th id="sl">Sl No</th> <th>Receipt No</th> <th>Student Name</th> <th>Student No</th> <th>Gender</th> <th>Age</th> <th>Nationality</th> <th>Payment date</th> <th>Allocated</th> <th style="width:180px;">Action</th> </tr> </thead> <tbody> <?php $table = ""; $field = ""; $i = 0; foreach ($viewinfo->result() as $row) { $i++; ?> <tr> <td id="sl"> <?= $i ?> </td> <td> <a href="#" onclick="displayformdata('student','single_page','<?=$row->fee_payment_id;?>','fee_payment','fee_payment_id','single_fee_payment')"> <?= $row->fee_receipt_no ?> </a> </td> <td> <?= $row->first_name . ' ' . $row->last_name ?> </td> <td> <?= $row->reg_no ?> </td> <td><?=$row->gender;?></td> <td> <?php /* 'yyyy-mm-dd format' */ $age_details = $this->mastermodel->getAgeDetails($row->dob); echo $age_details['in_words']; ?> </td> <td><?=$row->nationality_name;?></td> <td> <?= $this->mastermodel->convertdatenormalformat($row->fee_payment_date) ?> </td> <?php $num=$this->mastermodel->get_num_rows('fee','fee_receipt_no',$row->fee_receipt_no); ?> <td><?= $num? "Allocated": "Unallocated";?></td> <td> <div class="elements"><?=anchor("student/feereceiptunallocated/$row->fee_payment_id", '<img src="'.base_url().'/assets/images/pdf.png" title="PDF" width="20" height="20">', 'title="Receipt"');?></div> <?php if($num==0) { ?> <div class="elements"> <img src="<?= base_url() ?>assets/images/edit-icon.gif" title="Edit" width="20" height="20" alt="Edit" align = "center" class="clickimage" onclick="editformdata('student','edit_page','<?= $row->fee_payment_id; ?>','fee_payment','fee_payment_id','edit_fee_payment')" alt="" /> </div> <div class="elements"><img src="<?= base_url() ?>assets/images/delete-icon.png" title="Delete" width="20" height="20" onclick="deletedata('fee_payment',<?= $row->fee_payment_id; ?>,'fee_payment_id','student','viewinstudentsearch','search_fee_payment','view_fee','<?= $table ?>','<?= $field ?>')" alt="Delete" align = "center"/></div> <div class="elements"><img src="<?= base_url() ?>assets/images/process.png" title="Allocate Fees" width="20" height="20" onclick="editformdata('student','edit_page','<?= $row->fee_payment_id; ?>','fee_payment','fee_payment_id','allocate_fee_payment')" alt="Post" align = "center"/> </div> <?php } ?> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <div style="display:none"> <div id="empdiv"></div> </div>