PK

ADDRLIN : /home/anibklip/pcfcindia.com/2023-24/superadmin/
FLL :
Current File : /home/anibklip/pcfcindia.com/2023-24/superadmin/pay.php

<?php
include("connexion.php");
include("head.php");
?>  
<h2 id="icon_pick"><a href="billing.php" class="titletext">Manage Payments </a> 
  >> Add New Payment</h2> 
<br>
<strong> &nbsp;Fill in details for new Payment:</strong> 
<table cellspacing="3" align="center" width="100%" border="4" cellpadding="3">
<form action="payadd.php" method="get">
<tr><td colspan="2">
Payment Invoice #<strong><?php echo" $id ";  ?></strong>
<input type="hidden" name="invoice" value="<?php echo"$id";  ?>">
</td></tr>
<?php
$sql="SELECT * FROM invoices  WHERE invid='$_GET[id]'";
$result=mysql_query($sql) or die ('error');
while($row=mysql_fetch_array($result))
{
?>
<tr>
	  <td><strong>Client Id</strong>:</strong> 
        <?php echo"{$row['clnid']}";?></td>
	<td><strong>Certificate No: </strong><?php echo"{$row['certid']}";?></td>
</tr>
<tr>
	  <td><strong>Dated</strong>:</strong> 
        <?php echo"{$row['dtd']}";?></td>
	<td><strong>Amount: </strong><?php echo"{$row['grandtotal']} /-";?></td>
</tr>


<tr>
<td valign="top"><strong>Amount Recieve</strong>:</td><td><input type="text" name="pamount" size="33"></td>
</tr>
<tr><td><strong>Mode</strong>:</td><td> <select name="pmode">

<option value="cash	">Cash</option>
<option value="cheque">Cheque</option>
</select></td></tr>
<tr><td><strong>Details</strong>:</td><td><textarea rows="4" cols="25" name="pdetail"></textarea></td></tr>
<tr><td align="center" colspan="2"><br><center><input type="submit" value="Recipt Payment"  class="amo-submit"></center></td></tr>
</form>
</table>

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


PK 99