?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/sec/application/views/student/view_fee.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <!-- BEGIN PAGE LEVEL STYLES --> <link rel="stylesheet" href="<?= base_url(); ?>assets/plugins/data-tables/DT_bootstrap.css" /> <!-- END PAGE LEVEL STYLES --> <div class="row-fluid"> <div class="span12"> <!-- BEGIN EXAMPLE TABLE PORTLET--> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-cogs"></i>Fee Payment - Unallocated</div> <div class="actions"> <a href="#" onclick="addformdisplay('add_fee_payment','student')" class="btn green"><i class="icon-plus"></i> Add</a> </div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="sample_4"> <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> <table class="table table-striped table-hover table-bordered" id="sample_3"> <thead> <tr> <th class="sl_th">Sl No</th> <th>Receipt No</th> <th>Student Name</th> <th>Student No</th> <th>Gender</th> <th>Course Fee</th> <th>Payment date</th> <th>Allocated</th> <th class="action_th">Pdf</th> <th class="action_th">Edit</th> <th class="action_th">Delete</th> <th class="action_th">Allocate Fee</th> </tr> </thead> <tbody> <?php $table = ""; $field = ""; $i = 0; $code = 0; foreach ($viewinfo->result() as $row) { $i++; ?> <tr class="odd gradeX"> <td><?= $i; ?></td> <td> <a href="#" onclick="displayformdata('student','single_page','<?=$row->fee_payment_id;?>','fee_payment','fee_payment_id','single_fee_payment')"> <?= $row->feereceipt?> </a> </td> <td> <?= $row->first_name . ' ' . $row->last_name ?> </td> <td> <?= $row->reg_no ?> </td> <td><?=$row->gender;?></td> <td><?=$row->fee_course_amount;?></td> <td> <?= $this->mastermodel->convertdatenormalformat($row->fee_payment_date) ?> </td> <?php $num=$row->fee_id; ?> <td><?= $num? "Allocated": "Unallocated";?></td> <td> <?=anchor("student/feereceiptunallocated/$row->fee_payment_id", '<img src="'.base_url().'/assets/img/pdf.png" title="PDF" width="20" height="20">', 'title="Receipt"');?></td> <td> <?php if($num==0) { ?> <a class="edit" href="#" onclick="editformdata('student','edit_page','<?= $row->fee_payment_id; ?>','fee_payment','fee_payment_id','edit_fee_payment')">Edit</a> <?php } ?></td> <td><?php if($num==0) { ?> <a class="delete" href="#" onclick="deletedata('fee_payment',<?= $row->fee_payment_id; ?>,'fee_payment_id','student','viewinstudentsearch','search_fee_payment','view_fee','<?= $table ?>','<?= $field ?>')">Delete</a> <?php } ?> </td> <td><?php if($num==0) { ?> <a href="#"><img src="<?= base_url() ?>assets/img/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"/> </a> <?php } ?> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> <div style='display:none'> <div id="uploaddiv"></div> </div> <div id="ajax-modal" class="modal hide fade" tabindex="-1"></div> <script> jQuery(document).ready(function() { UIModals.init(); TableManaged.init(); }); </script>