?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/draft/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/draft/application/views/student/view_cancellation.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <!-- 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>Student Cancellation</div> <div class="actions"> <a href="#" onclick="addformdisplay('add_cancellation','student')" class="btn green"><i class="icon-plus"></i> Add</a> </div> </div> <div class="portlet-body"> <div class="portlet box blue"> <div class="portlet-title" > <div class="caption"><i class="icon-check"></i>Attendance Details</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="stud_sub" style="background-color: white;"> <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> <table class="table table-striped table-hover table-bordered" id="sample_3"> <thead> <tr> <th class="sl_th">Sl No</th> <th>Student Name</th> <th>Student No</th> <th>Batch Code</th> <th>Cancellation Date</th> <th class="action_th">View</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; foreach($viewinfo->result() as $row) { $i++; ?> <tr class="odd gradeX"> <td><?= $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> <?= $this->mastermodel->convertdatenormalformat($row->cancellation_date) ?> </td> <td> <?php if ($row->journal_id > 0) { ?> <a class="search_details" data-journal_id="<?=$row->journal_id;?>" id="image_icon" href="#" > <img src="<?= base_url() ?>/assets/img/view-icon.png" title="View" width="20" height="20" alt="View Entry" align = "center" /></a> <?php }?> </td> <td> <?php if ($row->journal_id <= 0) { ?> <a class="edit" href="#" onclick="editformdata('student','edit_page','<?= $row->cancellation_id; ?>','student_cancellation','cancellation_id','edit_cancellation')">Edit</a> <?php }?> </td> <td> <?php if ($row->journal_id <= 0) { ?> <a class="delete" href="#" onclick="deletedata('student_cancellation',<?= $row->cancellation_id; ?>,'cancellation_id','student','viewinstudentsearch','search_cancellation','view_cancellation','<?= $table ?>','<?= $field ?>')">Delete</a> <?php }?></td> <td> <?php if ($row->journal_id <= 0) { ?> <a href="#" onclick="editformdata('student','edit_page','<?= $row->cancellation_id; ?>','student_cancellation','cancellation_id','post_student_cancellation')" ><img src="<?= base_url() ?>assets/img/process.png" title="Allocate Fees" width="25" height="25" ></a> <?php } ?></td> </tr> <?php } ?> </tbody> </table> </div> </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() { $('.search_details').on("click",function(e){ e.preventDefault(); var $modal = $('<div id="payment_vouchar_div" class="modal hide fade" tabindex="-1"></div>'); var journal_id = $(this).data('journal_id'); $.ajax({ url : "<?= site_url('accounting/viewsingle_page/') ?>/" + journal_id +"/search_payment_voucher/view_payment_voucher", success: function(data){ $modal.empty().html(data); $modal.modal(); } }); }); UIModals.init(); TableManaged.init(); }); </script>