Server IP : 103.191.208.50 / Your IP : 216.73.216.53 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, popen, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home/celkcksm/ecampus.ncriptech.com/../websites/vtti.e-campus.co.in/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include ("include/makeSession.php"); $installment_id=mysqli_query($con,"select * from admin where id='".$_SESSION["ecomid"]."'"); $installment_id=mysqli_fetch_array($installment_id); $installment_id=$installment_id['menuper']; $menuper=explode(',',$installment_id); if(in_array('Manage Accounts',$menuper)){ }else{ header("location:index.php"); } $_SESSION['page_name']="Fee"; include('include/function.php'); include("include/header.php"); include("include/sidebar.php"); ?> <script src="plugins/jQuery/jQuery-2.1.4.min.js" type="text/javascript"></script> <div class="content-wrapper"> <section class="content-header"> <h1> Onetime Fee Due Report</h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li><a href="#">Due Onetime Fee</a></li> </ol> </section> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> </div><!-- /.box-header --> <div class="box-body" style="overflow-x: scroll;"> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th>Sr No</th> <th>Student ID</th> <th scope="col">Name</th> <th scope="col">Fee Name</th> <th scope="col">Amount</th> </tr> </thead> <tbody> <?php //26.10.1996 $Query=mysqli_query($con,"select setonetimefee.student_id as student_id,admission_enquiry_form.name, miscfeemaster.feemaster, miscfeemaster.amount,setonetimefee.id as setonetimefee_id from setonetimefee left join admission_enquiry_form on setonetimefee.student_id=admission_enquiry_form.student_id left join miscfeemaster on miscfeemaster.id=setonetimefee.miscfeemaster_id"); $i = 1; $totalfee=0; while($Row=mysqli_fetch_array($Query)){ $paidQ=mysqli_query($con,"select sum(payment_amount) as payment_amount from payonetimefee where setonetimefee_id='".$Row['setonetimefee_id']."'"); $paidR=mysqli_fetch_array($paidQ); if(($Row['amount']-$paidR['payment_amount'])>0){ $totalfee=$totalfee+$Row['amount']-$paidR['payment_amount']; ?> <tr> <td><?=$i;?></td> <td><?=$Row['student_id'];?></td> <td><?=$Row['name'];?></td> <td><?=$Row['feemaster'];?></td> <td><?=$Row['amount']-$paidR['payment_amount'];?></td> </tr> <?php $i++;}} ?> </tbody> <td></td> <td></td> <td></td> <td></td> <td><b>Total Fee:</b><br/><?=$totalfee;?></td> </table> </div><!-- /.box-body --> </div><!-- /.box --> </div><!-- /.col --> </div><!-- /.row --> </section><!-- /.content --> </div><!-- /.content-wrapper --> <!-- footer start --> <?php include('include/footer.php'); ?> <!-- footer end --> <!-- DataTables --> <script src="plugins/datatables/jquery.dataTables.min.js" type="text/javascript"></script> <script src="plugins/datatables/dataTables.bootstrap.min.js" type="text/javascript"></script> <script src="bootstrap/js/dataTables.buttons.min.js" type="text/javascript"></script> <script src="bootstrap/js/jszip.min.js" type="text/javascript"></script> <script src="bootstrap/js/pdfmake.min.js" type="text/javascript"></script> <script src="bootstrap/js/vfs_fonts.js" type="text/javascript"></script> <script src="bootstrap/js/buttons.html5.min.js" type="text/javascript"></script> <script src="bootstrap/js/buttons.print.min.js" type="text/javascript"></script> <script src="bootstrap/js/buttons.colVis.min.js" type="text/javascript"></script> <script src="bootstrap/js/buttons.flash.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $('#example1').DataTable( { dom: 'Bfrtip', columnDefs: [ { targets: 1, className: 'noVis' } ], buttons: [ { extend: 'colvis', columns: ':not(.noVis)' } ], buttons: [ { extend: 'colvis', text: 'COLOUMNS' }, { extend: 'csv', text: 'Export to CSV' }, { extend: 'excel', text: 'Export to Excel' }, { extend: 'pdfHtml5', text: 'Create PDF', orientation: 'landscape', exportOptions: { columns: ':visible' } }, { extend: 'print', text: 'Print', exportOptions:{columns: ':visible',autoPrint: true}} ], } ); $('#example2').DataTable( { dom: 'Bfrtip', columnDefs: [ { targets: 1, className: 'noVis' } ], buttons: [ { extend: 'colvis', columns: ':not(.noVis)' } ], buttons: [ { extend: 'colvis', text: 'COLOUMNS' }, { extend: 'csv', text: 'Export to CSV' }, { extend: 'excel', text: 'Export to Excel' }, { extend: 'pdfHtml5', text: 'Create PDF', orientation: 'landscape', exportOptions: { columns: ':visible' } }, { extend: 'print', text: 'Print', exportOptions:{columns: ':visible',autoPrint: true}} ], } ); } ); //$(function () { //$("#example1").DataTable(); //}); </script>