PK

ADDRLIN : /home/anibklip/pcfcindia.com/19-20/superadmin/
FLL :
Current File : /home/anibklip/pcfcindia.com/19-20/superadmin/billing.php

<?php
include("connexion.php");
include "head.php";
?>
    <h2 id="icon_pick">Manage Payments</h2> 
<table width="100%"><tr>
        <td class="white" align="left"> &nbsp;&nbsp;Below are the existing Payments with their 
          details. </td>
		 <td align="center"><a href="pendingpay.php">Recieved/Pending  Payment</a></td>
		      </tr>
<tr><td align="right" colspan="2"><a href="payment.php">+ Add a new Payment</a> <br></td></tr>
</table>
<table cellspacing="3" align="center" width="100%" border="4" cellpadding="3">
<tr>
  <td><strong>Invoice</strong></td>
    <td><strong>Cert. No.</strong></td>
	<td><strong>Client Id</strong></td>
  <td><strong>Date</strong></td>
  
  <td><strong>Amount</strong></td>
  
  <td><strong>Status</strong></td>
 
  <td><strong>Pay</strong></td>
</tr>
<?php
$sql="SELECT * FROM invoices Where invstatus='pending' and branch='$_SESSION[city]'";
$result=mysql_query($sql) or die('error');
if (mysql_num_rows($result) == 0)
{
echo "<tr><td colspan=8 align=center><font color=red><strong><br>No Due Invoice records Found</strong>.</font><br><br></td></tr>";
}
while($row=mysql_fetch_array($result))
{
	echo"<tr>
	  <td>{$row['invid']}</td>       <td>{$row['certid']}</td>  <td>{$row['clnid']}</td>      <td>{$row['dtd']}</td>     <td>{$row['grandtotal']}</td>   <td>{$row['invstatus']}</td>    <td><a href=pay.php?id={$row['invid']}>Pay</a></td></tr>";
}
?>
</table>
<br><br>

<?php
include "foot.php";
?>


PK 99