?
Current Path : /home1/savoy/public_html/savoyglobal.net/cocorico/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/cocorico/application/views/student/view_fee_posted.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</div> <div class="actions"> <a href="#" onclick="addformdisplay('add_fee','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" checked="checked" 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" 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 Reg No</th> <th>Gender</th> <th>Age</th> <th>Nationality</th> <th>Class Name</th> <th>Amount Paid</th> <th>Payment date</th> <th class="action_th">Pdf</th> <th class="action_th">RV</th> <th class="action_th">Edit</th> <th class="action_th">Delete</th> <th class="action_th">Unalocate 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_fee','<?= $row->fee_id; ?>','fee','fee_id','single_fee')"> <?= $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><?= $row->class_name_code ?></td> <td><?= $row->total_amount ?></td> <td><?= $this->mastermodel->convertdatenormalformat($row->fee_date) ?></td> <td> <?= anchor("student/feereceipt/$row->fee_id", '<img src="' . base_url() . '/assets/img/pdf.png" title="PDF" width="20" height="20">', 'title="Receipt"'); ?> </td> <td> <?php if ($row->journal_id == 0) { ?> <a class="receipt_voucher" data-fee_id="<?= $row->fee_id; ?>"id="image_icon" href="#" > <img src="<?= base_url() ?>/assets/img/saldet.png" title="View" width="20" height="20" alt="View Entry" align = "center" /></a> <!-- <a href="#"><img src="<?= base_url() ?>assets/img/saldet.png" title="Reciept Voucher Post" width="20" height="20" alt="Edit" align = "center" class="inliexample2" onclick="check_pending_amount('<?=$reg_pending?>','<?=$course_pending?>','<?= $row->fee_id; ?>')" alt="" /> </a>--> <?php } ?> </td> <td> <?php if ($row->journal_id == 0) { ?> <a class="edit" href="#" onclick="editformdata('student','edit_fee','<?= $row->fee_id; ?>','fee','fee_id','edit_fee')">Edit</a> <?php } ?> </td> <td> <?php if ($row->journal_id == 0) { ?> <a class="delete" href="#" onclick="deletedata('fee',<?= $row->fee_id; ?>,'fee_id','student','viewinstudentsearch','search_fee_posted','view_fee_posted','<?= $table ?>','<?= $field ?>')">Delete</a> <?php } ?> </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> </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() { $('.receipt_voucher').on("click",function(e){ e.preventDefault(); var $modal = $('<div id="payment_vouchar_div" class="modal container hide fade" tabindex="-1"></div>'); var fee_id = $(this).data('fee_id'); $.ajax({ url : "<?= site_url('student/edit_fee') ?>/" + fee_id +"/fee/fee_id/post_fee_setting", success: function(data){ $modal.empty().html(data); $modal.modal(); } }); }); $('.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_fee_posted/view_receipt_fee_posted", success: function(data){ $modal.empty().html(data); $modal.modal(); } }); }); UIModals.init(); TableManaged.init(); }); </script>