?
Current Path : /home1/savoy/www/savoyglobal.net/koaladraft/application/views/master/ |
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/www/savoyglobal.net/koaladraft/application/views/master/view_fee_collection.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); //$feeterm = $this->mastermodel->getdatas('fee_term', 'fee_term_name'); ?> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('master','viewinmastersearch','search_fee_master','view_fee_master','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> <img src="<?= base_url() ?>assets/images/add.png" title="Add New" class="clickimage" onclick="addformdisplay('add_fee_collection','master')" alt="Add New" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Fee Collections</h4> </div> </div> <div class="clean"></div> <div class="grid_12"> <div class="box"> <div class="header"> </div> <div class="content"> <table id="table-example" class="table"> <thead> <tr> <th id="sl">Sl No</th> <th>Academic Year</th> <th>Action</th> </tr> </thead> <tbody> <?php $table= ""; $field = ""; $slno = ($pagenum - 1) * 10 + 1; // $viewinfo = $this->mastermodel->getdatas('fee_collection', 'fee_collection_id', 'asc', 'fee_collection_id '); $i = 0; foreach ($viewinfo->result() as $row) { $i++; ?> <tr <?php if ($slno % 2 == 0) { ?>class="first" <?php } else { ?> class="second" <?php } ?>> <td><?= $slno++; ?></td> <td><a href="#" onclick="displayformdata('master','single_page','<?=$row->fee_collection_id;?>','fee_collection','fee_collection_id','single_fee_collection')"><?= $row->academic_year_year; ?></a></td> <td id="actions_3"> <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('master','edit_page','<?= $row->fee_collection_id ?>','fee_collection','fee_collection_id','edit_fee_collecton')" alt="" /> </div> <div class="elements"><img src="<?= base_url() ?>assets/images/delete-icon.png" title="Delete" width="20" height="20" onclick="deletedata('fee_collection',<?= $row->fee_collection_id?>,'fee_collection_id','master','viewinmastersearch','search_fee_collection','view_fee_collection','<?= $table ?>','<?= $field ?>')" alt="Delete" align = "center"/></div> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div>