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/cms.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']="Accounts Transactions"; include('include/function.php'); include("include/header.php"); include("banktobalance.php"); include("include/sidebar.php"); if(isset($_REQUEST['did']) && $_REQUEST['did']!=''){ $dovalue=""; $doid=$_REQUEST['did']; mysqli_query($con,"delete from party_payment where id='".$doid."'"); echo '<META HTTP-EQUIV="Refresh" Content="0; URL=PartyNextPayment.php">'; exit; } if(isset($_REQUEST['upid']) && $_REQUEST['upid']!=''){ $dovalue="PartyTranctions"; $doid=$_REQUEST['upid']; $upuserresult=mysqli_query($con,"select * from party_payment where id='".$_REQUEST['upid']."'"); $upuserarr=mysqli_fetch_array($upuserresult); }else{ $dovalue="PartyTranctions"; $doid=''; } ?> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Party Payment Report <small></small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li><a href="#">Party Payment Report</a></li> </ol> </section> <!-- Main content --> <!-- /.content --> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> <h3 class="box-title">Party Payment Report</h3> </div> <!-- /.box-header --> <div class="box-body"> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th scope="col">Sr no</th> <th scope="col">Transaction Type</th> <th scope="col">Transaction ID</th> <th scope="col">Party Name </th> <th scope="col">Bill Amount</th> <th scope="col">Paid Amount</th> <th scope="col">Due Amount</th> <th scope="col">Creating User</th> <th scope="col">Created At</th> <th scope="col">Pay</th> <!-- <th scope="col">Action</th> --> </tr> </thead> <tbody> <?php $Query=mysqli_query($con,"select *,PartyTranctions.id as ids,party_payment.id as id, party_payment.created_at as crete from party_payment left JOIN PartyTranctions as PartyTranctions ON party_payment.transaction_id=PartyTranctions.Transaction_id left JOIN admin as admin ON party_payment.user_id=admin.id left JOIN party_entry as party_entry ON PartyTranctions.Party_id=party_entry.id where PartyTranctions.approve=1 AND CAST(PartyTranctions.Bill_Amount AS UNSIGNED INTEGER)>CAST(PartyTranctions.Pay_Amount as UNSIGNED INTEGER) order by party_payment.id desc"); $i = 1; while($Row=mysqli_fetch_array($Query)){ ?> <tr> <td><?php echo $i; ?></td> <td><?=$Row['Transaction_type'];?></td> <td><?=$Row['transaction_id'];?></td> <td><?=$Row['partyname'];?></td> <td><?=$Row['BillAmount'];?></td> <td><?=$Row['PaidAmount'];?></td> <td><?=$Row['DueAmount'];?></td> <td><?=$Row['username'];?></td> <td><?=$Row['crete'];?></td> <td> <?php if($Row['DueAmount']==0){?> <a href="./allpartypayments.php?upid=<?php echo $Row["transaction_id"]; ?>"><i class="fa fa-paypal text-green"></i></a> <?php }else{?><a href="./partypaymententryform.php?upid=<?php echo $Row["id"]; ?>&partyname=<?php echo $Row["partyname"]; ?>"><i class="fa fa-paypal text-red"></i></a> <?php } ?> <?php if($Row['PaidAmount']!=0){?> <a href="./partypaymentrecipt.php?upid=<?php echo $Row["ids"]; ?>"><i class="fa fa-eye text-yellow"></i></a> <?php }else{?> <?php } ?> </td> <!--<td><a href="?upid=<?php //echo $Row["id"]; ?>"><i class="fa fa-pencil text-yellow"></i></a> <a href="?did=<?php //echo $Row["id"]; ?>"><i class="fa fa-remove text-red"></i></a></td> --> </tr> <?php $i++;} ?> </tbody> </table> </div> <!-- /.box-body --> </div> <!-- /.box --> </div> <!-- /.col --> </div> <!-- /.row --> </section> </div> <?php include('include/footer.php');?> <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="https://cdn.datatables.net/buttons/1.5.1/js/dataTables.buttons.min.js" type="text/javascript"></script> <script src="https://cdn.datatables.net/buttons/1.5.1/js/buttons.colVis.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $('#example1').DataTable( { } ); } ); //$(function () { //$("#example1").DataTable(); //}); </script>