?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec_old/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_old/application/views/student/view_cancellation.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 New" class="clickimage" onclick="addformdisplay('add_cancellation','student')" alt="Add New" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Student Cancellation</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="student_cancellation" id="student_cancellation_posted" <?php if ($_SESSION['res_function'] == 'search_cancellation_posted') echo "checked"; ?> value="0" class="chzn-done" onclick="viewdata('student','viewinstudentsearch','search_cancellation_posted','view_cancellation','1')" /></th><th><label>Posted cancellation Details</label></th> <th><input type="radio" name="student_cancellation" id="student_cancellation" value="1" <?php if ($_SESSION['res_function'] == 'search_cancellation') echo "checked"; ?> class="chzn-done" onclick="viewdata('student','viewinstudentsearch','search_cancellation','view_cancellation','1')" /></th><th><label>Un-Posted cancellation Details</label></th> </tr> </table> </div> </div> </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>Student Name</th> <th>Student No</th> <th>Batch Code</th> <th>Cancellation Date</th> <th>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->cancellation_id; ?>','student_cancellation','cancellation_id','single_cancellation')"> <?= $row->first_name . ' ' . $row->last_name ?></a> </td> <td> <?= $row->reg_no ?> </td> <td> <?= $row->batch_no ?> </td> <!-- <td> <?= $row->refund_amount ?> </td>--> <td> <?= $this->mastermodel->convertdatenormalformat($row->cancellation_date) ?> </td> <?php if ($row->journal_id > 0) { ?> <td id="actions_63" > <img src="<?= base_url() ?>/assets/images/view-icon.png" id="editclass" title="View" width="20" height="20" alt="View Entry" align = "center" onclick="viewthis_unpost(<?= $row->journal_id ?>, 'search_payment_voucher', 'view_payment_voucher')" style="cursor: pointer" class="clickimage1" /> </td> <?php } else { ?> <td id="actions_4"> <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->cancellation_id; ?>','student_cancellation','cancellation_id','edit_cancellation')" alt="" /> </div> <div class="elements"><img src="<?= base_url() ?>assets/images/delete-icon.png" title="Delete" width="20" height="20" onclick="deletedata('student_cancellation',<?= $row->cancellation_id; ?>,'cancellation_id','student','viewinstudentsearch','search_cancellation','view_cancellation','<?= $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->cancellation_id; ?>','student_cancellation','cancellation_id','post_student_cancellation')" alt="Post" align = "center"/> </div> </td> <?php } ?> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <div class="actions-left"> <div style="display:none"> <div id="empdiv"></div> </div> </div>