PK

ADDRLIN : /home/anibklip/pcfcindia.com/dump/
FLL :
Current File : /home/anibklip/pcfcindia.com/dump/conform.php

<?php
include("connexion.php");
include"head.php";

$sql="SELECT parhead FROM head Where headid='$_GET[clntid]'";
$result=mysql_query($sql) or die('error in getting client type');
while($row=mysql_fetch_array($result))
{
$cmntz="{$row['parhead']}";
}
?>

<table cellspacing="3" align="center" width="100%" border="0" cellpadding="3">
<form action="invoicebill.php" method="get">
<input type="hidden" name="clntid" value="<?php echo"$_GET[clntid]";?>">
<input type="hidden" name="dtype" value="<?php echo"$_GET[dtype]";?>">
<input type="hidden" name="certno" value="<?php echo"$_GET[certno]";?>">
<input type="hidden" name="dat" value="<?php echo"$_GET[dat]";?>">
<input type="hidden" name="invoice" value="<?php echo"$_GET[invoice]";?>">
<input type="hidden" name="desc" value="<?php echo"$_GET[desc]";?>">
<input type="hidden" name="pack" value="<?php echo"$_GET[pack]";?>">
<input type="hidden" name="vessel" value="<?php echo"$_GET[vessel]";?>">
<input type="hidden" name="convey" value="<?php echo"$_GET[convey]";?>">
<input type="hidden" name="destinat" value="<?php echo"$_GET[destinat]";?>">
<input type="hidden" name="chem" value="<?php echo"$_GET[chem]";?>">
<input type="hidden" name="dosage" value="<?php echo"$_GET[dosage]";?>">
<input type="hidden" name="temp" value="<?php echo"$_GET[temp]";?>">
<input type="hidden" name="durat" value="<?php echo"$_GET[durat]";?>">
<input type="hidden" name="Dfumigation" value="<?php echo"$_GET[Dfumigation]";?>">
<input type="hidden" name="remark" value="<?php echo"$_GET[remark]";?>">
<input type="hidden" name="ajtname" value="<?php echo"$_GET[ajtname]";?>">
<input type="hidden" name="cmntz" value="<?php echo"$cmntz";?>">
<input type="hidden" name="particular" value="<?php echo"$_GET[particular]";?>">
<input type="hidden" name="sub_c" value="<?php echo"$_GET[sub_c]";?>">

   <tr>
      <td valign="top" colspan="4"> <center><h3> CERTIFICATE OF FUMIGATION <h3> </center> 
      </td>
    </tr>  
<tr>
<td valign="top" colspan="4"><strong>Dte PPQS Regd.No.104/MB</strong></td></tr>
      
<td valign="top" colspan="2"><strong>Treatment Certificate No.</strong>:<em>Auto assigned</em></td>
<td valign="top" colspan="2"><?php echo "$_GET[dat]"; ?></td>
</tr>
			
	<tr><td colspan="4">  &nbsp;This is to certify that consignment has been treated as per details listed below and that
	 subject consigenmentis believed  <br>  &nbsp; &nbsp;to be substantially free from any  injurious pests.</td></tr>  		

<tr>
<td valign="top" colspan="2"><strong>Name of Importer/Exporter</em></strong>:</td><td colspan="2"><?php echo "$_GET[clntid]";?></td>
</tr>
<td valign="top"  colspan="2"><strong>Invoice No</strong>:</td><td colspan="2"><?php echo "$_GET[invoice]";?></td>
</tr>
<tr>
<td valign="top"  colspan="2"><strong>Description of Consigenment</strong>:</td><td colspan="2"><?php echo "$_GET[desc]";?></td>
</tr>
<tr>
<td valign="top"  colspan="2"><strong>Type and No. of Packges</strong>:</td><td colspan="2"><?php echo "$_GET[pack]";?></td>
</tr>
<tr>
<td valign="top"  colspan="2"><strong>Container No. or Vessel</strong>:</td><td colspan="2"><?php echo "$_GET[vessel]";?></td>
</tr>

<tr>
<td valign="top"  colspan="2"><strong>Means of Conveyance</strong>:</td><td colspan="2"><?php echo "$_GET[convey]";?></td>
</tr>

<tr>
<td valign="top"  colspan="2"><strong>Destination Port</strong>:</td><td colspan="2"><?php echo "$_GET[destinat]";?></td>
</tr>
<br>
<tr><td valign="top"  colspan="4">  <center> <h3> SCHEDULE OF TREATMENT  </h3></center> </td></tr>  
<BR>
<tr>
<td valign="top"  colspan="2"><strong>Chemical(Fumigant)</strong>:</td><td colspan="2"><?php echo "$_GET[chem]";?></td>
</tr>
<tr>
<td valign="top"  colspan="2"><strong>Dosage</strong>:</td><td colspan="2"><?php echo "$_GET[dosage]";?></td>
</tr>
<tr>
<td valign="top"  colspan="2"><strong>Temperature</strong>:</td><td colspan="2"><?php echo "$_GET[temp]";?></td>
</tr>

<tr>
<td valign="top"  colspan="2"><strong>Duration of Exposure</strong>:</td><td colspan="2"><?php echo "$_GET[durat]";?></td>
</tr>

<tr>
<td valign="top"  colspan="2"> <strong>Date of Fumigation</strong>:</td><td colspan="2"><?php echo "$_GET[Dfumigation]";?></td>
</tr>


<tr>
<td valign="top"  colspan="2"><strong>Remark</strong>:</td><td colspan="2"><?php echo "$_GET[remark]";?></td>
</tr>
<tr><td colspan="4" align="center"><center><strong>INVCOICE DETAILS</strong></center></td></tr>
	<tr><td colspan="2" align="right">Amount :</td><td align="center" colspan="2">Rs. <?php echo"$_GET[amount]";?>/-</td></tr>

	<tr><td colspan="2" align="right">Discount:<i>(<?php if($_GET[discount]=='0'){echo"n/a";} else {echo "$_GET[discount] %";} ?>)</i></td>
	<td colspan="2" align="center">
	<?php if($_GET[discount]!='0'){
	$fdiscount=$_GET[amount]*$_GET[discount]/100;
	echo"Rs. $fdiscount /-";
	} 
	else {
	echo "n/a";
	}?></td></tr>
	
	<tr><td colspan="2" align="right">ServiceTax :<i>(<?php if($_GET[stax]=='yes'){echo"$_GET[srtax] %";} else {echo "n/a";}?>)</i></td><td colspan="2" align="center"> 
    <?php if($_GET[stax]=='yes'){
	$fgrandtotal=$_GET[amount]-$fdiscount;
	$staxnet=$fgrandtotal*$_GET[srtax]/100;
	echo"Rs. $staxnet /-";
	} 
	else {
	$staxnet=0;
	echo "n/a";
	}?></td></tr>
	<?php
	$fgrandtotal=$_GET[amount]-$fdiscount;
	$finalone=$fgrandtotal+$staxnet;
	 ?>
	<tr><td align="right" colspan="2"><strong>Grand Total :</strong></td><td colspan="2" align="center">Rs. <?php echo"<strong>$finalone</strong>";?>/-
	</td></tr>
<tr><td colspan="4" align="center"><br><center><input type="submit" class="amo-submit" value=">> Proceed to Checkout >>"></center><br></td></tr>

<?php if($_GET[stax]=='yes'){
	$srtax="$_GET[srtax]";
	} 
	else {
	$srtax=0;
	}?>
	
<input type="hidden" name="finalone" value="<?php echo"$finalone";?>">
<input type="hidden" name="amount" value="<?php echo"$_GET[amount]";?>">
<input type="hidden" name="discount" value="<?php echo"$_GET[discount]";?>">
<input type="hidden" name="srtax" value="<?php echo"$_GET[srtax]";?>">
<input type="hidden" name="stax" value="<?php echo"$_GET[stax]";?>">
	</form>
</table>
<br>
</form>

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


PK 99