PK

ADDRLIN : /home/anibklip/vpgldh.com/gstvpgbk17/webmanager/
FLL :
Current File : /home/anibklip/vpgldh.com/gstvpgbk17/webmanager/certificate-nspm-confirm.php

<?php 
	include "templatic/head.php"; 
	include "templatic/header.php";
?>
<div class="box">

<h2>Certificate Details</h2>

<div style="padding:0px 10px;">
<?php

$_SESSION['form_data']='good2go';

$clntid = $_POST['clntid'];
$sql="SELECT parhead FROM parties Where headid='$clntid'";
$result=mysql_query($sql) or die('Error in getting Client type');
while($row=mysql_fetch_array($result))
{
$cmntz="{$row['parhead']}";
}
?>

<!-- <form action="certificate-nspm-invoicebill.php" method="post"> -->
<form action="certificate-invoicebill.php" method="post">
<input type="hidden" name="formno" value="<?php echo"$_POST[formno]";?>">
<input type="hidden" name="subc_id" value="<?php echo $_POST['subc_id']; ?>">
<input type="hidden" name="clntid" value="<?php echo"$_POST[clntid]";?>">
<input type="hidden" name="clntid2" value="<?php echo"$_POST[clntid2]";?>">
<input type="hidden" name="dtype" value="<?php echo"$_POST[dtype]";?>">
<input type="hidden" name="invoice" value="<?php echo"$_POST[invoice]";?>">
<input type="hidden" name="certno" value="<?php echo"$_POST[certno]";?>">
<input type="hidden" name="issuedate" value="<?php echo"$_POST[dat]";?>">
<input type="hidden" name="namefumigant" value="<?php echo"$_POST[namefumigant]";?>">
<input type="hidden" name="dosagefumigant" value="<?php echo"$_POST[dosagefumigant]";?>">
<input type="hidden" name="datefumigantion" value="<?php echo"$_POST[datefumigantion]";?>">
<input type="hidden" name="durationfumigantion" value="<?php echo"$_POST[durationfumigantion]";?>">
<input type="hidden" name="airtemp" value="<?php echo"$_POST[temp]";?>">
<input type="hidden" name="volume" value="<?php echo"$_POST[volume]";?>">
<input type="hidden" name="gsheet" value="<?php echo"$_POST[gsheet]";?>">
<input type="hidden" name="airspace" value="<?php echo"$_POST[value]";?>">
<input type="hidden" name="vessel" value="<?php echo"$_POST[seelno]";?>">
<input type="hidden" name="portcountry" value="<?php echo"$_POST[port]";?>">
<input type="hidden" name="convey" value="<?php echo"$_POST[vessal]";?>">
<input type="hidden" name="declarednameaddress" value="<?php echo"$_POST[declarednameaddress]";?>">
<input type="hidden" name="contype" value="<?php echo"$_POST[desc]";?>">
<input type="hidden" name="quantitydeclared" value="<?php echo"$_POST[quantity]";?>">
<input type="hidden" name="desgood" value="<?php echo"$_POST[packing]";?>">
<input type="hidden" name="brand" value="<?php echo"$_POST[brand]";?>">
<input type="hidden" name="deck" value="<?php echo"$_POST[deck]";?>">
<input type="hidden" name="ajtname" value="<?php echo"$_POST[ajtname]";?>">
<input type="hidden" name="addition" value="<?php echo"$_POST[addition]";?>">
<input type="hidden" name="destinat" value="<?php echo"$_POST[port]";?>">
<input type="hidden" name="cmntz" value="<?php echo"$cmntz";?>">
<input type="hidden" name="sub_c" value="<?php echo"$_POST[sub_c]";?>">
<input type="hidden" name="consignment_link" value="<?php if(isset($_POST['consignment_link']) && $_POST['consignment_link']!=""){ echo $_POST['consignment_link']; }else{ echo "N/A"; } ?>">
<input type="hidden" name="container20feet" value="<?php echo"$_POST[container20feet]";?>" >
<input type="hidden" name="container40feet" value="<?php echo"$_POST[container40feet]";?>" >
<input type="hidden" name="container40HC" value="<?php echo"$_POST[container40HC]";?>" >
<input type="hidden" name="containerLCL" value="<?php echo"$_POST[containerLCL]";?>" >

<table cellspacing="3" align="center" width="100%" border="1" cellpadding="3">
    <tr>
      <td valign="top" colspan="8"> <center> <h3> FUMIGATION CERTIFICATE </h3> </center> 
      </td>
    </tr> 

<tr>
<td colspan="8" class="safe">This is to certify that the goods deseibed below were treated in accordance with the fumigation treatment requirements of importing country USA and declared &nbsp; that the consignment has been verified free of impervious surfaces/layers such as plastic wrapping or laminated plastic films, lacqured or painted surface, aluminium foil, tarred or waxed paper etc.that may adversely effect the penetration of the fumigant, prior to fumigation.</td>
</tr>  		
 
<tr>
<td valign="top" colspan="4">Dte PPQS Regd.No.104/MB</td><td align="center" valign="top" colspan="4">Date:28-11-2005</td>
</tr>
    <tr>  
<td valign="top" colspan="4">Treatment Certificate No.: <em>Auto assigned</em></td>
<td  colspan="4" align="center">Date:<?php echo"$_POST[dat]";?></td>
</tr>

<tr>
<td valign="top"  colspan="4"><b>Name & Address Of Exporter</b>:<br/><?php client_details($_POST['clntid']); ?></td>
<td valign="top"  colspan="4"><b>Name & Address Of Importer</b>:<br/><?php client_details($_POST['clntid2']); ?></td>
</tr>			
	
<tr>
<td colspan="8" align="center"><strong>DETAILS OF TREATMENT:</strong></font></td>
</tr>

      <tr>
        <td  colspan="2">Name of fumigantion:<br></td><td  colspan="2"><?php echo"$_POST[namefumigant]";?>
		</td>
		<td colspan="2">Dosage rate of fumigantion:<br></td><td  colspan="2"><?php echo"$_POST[dosagefumigant]";?>
		</td>
        
      </tr>
      <tr>
        <td  colspan="2">Date and Place of Fumigation:<br></td><td  colspan="2"><?php echo"$_POST[datefumigantion]";?></td>
        
        <td  colspan="2">Duration of Exposure:<br></td><td  colspan="2"><?php echo"$_POST[durationfumigantion]";?></td>
         </tr>
	<tr> 
<td valign="top"  colspan="2">Temparure During Fumigation:</td><td  colspan="2"><?php echo"$_POST[temp]";?></td>
<td valign="top"  colspan="2">Volume:</td><td  colspan="2"><?php echo"$_POST[volume]";?></td>

</tr>
<tr> 
<td valign="top"  colspan="2">Fumigation Performed under Gastight Sheets:</td><td  colspan="2"><?php echo"$_POST[gsheet]";?></td>
<td valign="top"  colspan="2">If Containers are not fumigated Under 
Gas-Tight sheers,Pressure decay Value
(From 200-100 Pascal's Insecond:</td><td  colspan="2"><?php echo"$_POST[value]";?></td>

</tr>
<tr><td colspan="8" align="center"><strong>Descripition of Goods</strong></td></tr>
<tr>
<td valign="top"  colspan="4">Container Number(or Numerical Link)./
Seal Number:</td><td  colspan="4"><?php echo"$_POST[seelno]";?> </td>
</tr>
<tr>
<td valign="top"  colspan="4">Port of Discharge:</td><td  colspan="4"><?php echo"$_POST[port]";?></td>
</tr>
<tr>
<td valign="top"  colspan="4">Vessal Name:</td><td  colspan="4"><?php echo"$_POST[vessal]";?></td>
</tr>
<tr>
<td valign="top"  colspan="4">Type and Description of Cargo:</td><td  colspan="4"><?php echo"$_POST[desc]";?></td>
</tr>
<tr>
<td valign="top"  colspan="4">Quantity(MTS)/No Of Packages/No Of Pieces:</td><td  colspan="4"><?php echo"$_POST[quantity]";?></td>
</tr>
<tr>
<td valign="top"  colspan="4">Description Of Packing Material:</td><td  colspan="4"><?php echo"$_POST[packing]";?></td>
</tr>
<tr>
<td valign="top"  colspan="4">Skaning marks or Brand:</td><td  colspan="4"><?php echo"$_POST[brand]";?></td>
</tr>
<tr>
<td valign="top"  colspan="4">Invoce No.& Date:</td><td  colspan="4"><?php echo"$_POST[invoice]";?></td>
</tr>

<tr>
<td valign="top"  colspan="8" align="center">&nbsp;P.S.No Liability to the Certifying or Its proprietors or repersentative with Respect
to this Certificate.
</td></tr><tr>
<td colspan="8" align="center">Recognisede by:: Government of India</td>
</tr>


 <tr>	
        <td colspan="8"> <b>Number of Containers</b>  </td>
      </tr>
      
      <tr>	
        <td colspan="8">&nbsp; &nbsp; 20&rsquo;&nbsp; &nbsp; &nbsp; &nbsp; <?=$_POST['container20feet'];?> <br /><br />
         &nbsp; &nbsp; 40&rsquo; &nbsp; &nbsp; &nbsp; &nbsp;<?=$_POST['container40feet'];?> <br /><br />
         &nbsp; &nbsp;  40HC &nbsp; &nbsp; <?=$_POST['container40HC'];?> <br /><br />
         &nbsp; &nbsp; LCL &nbsp; &nbsp; &nbsp; <?=$_POST['containerLCL'];?> <br /><br />
        
        
        </td>
      </tr>

<?php
if(isset($_POST['subc_id']) && $_POST['subc_id']!=''){
echo "";
}
else{
?>
<tr>
<td colspan="8" align="center"><center><strong>INVOICE DETAILS</strong></center></td></tr>
	<tr><td colspan="4" align="right">Amount :</td><td align="center" colspan="4">Rs. <?php echo round($_POST['amount'], 2); ?>/-</td></tr>

<tr><td colspan="4" align="right">Discount:<i>(
<?php 
if($_POST['discount']==''){
echo "n/a";
}
else{
echo $_POST['discount'] ."%";
}
?>
)</i></td>
<td colspan="4" align="center">
<?php 
if($_POST['discount']!=''){
$fdiscount=round($_POST['amount']*$_POST['discount']/100, 2);
echo "Rs. $fdiscount /-";
} 
else{
echo "n/a";
$fdiscount = "0";
}
?>
</td>
</tr>
	
<tr><td colspan="4" align="right">GST:<i>(
<?php 
if(isset($_POST['stax']) && $_POST['stax']=='yes'){
echo $_POST['srtax'] ."%";
}
else{
echo "n/a";
}
?>
)</i></td>
<td colspan="4" align="center"> 
<?php 
if(isset($_POST['stax']) && $_POST['stax']=='yes'){
$fgrandtotal=round($_POST['amount']-$fdiscount, 2);
$staxnet=round($fgrandtotal*$_POST['srtax']/100, 2);
echo"Rs. $staxnet /-";
} 
else{
$staxnet='0';
echo "n/a";
}
?>
</td></tr>
<?php
$fgrandtotal=round($_POST['amount']-$fdiscount, 2);
$finalone=round($fgrandtotal+$staxnet, 2);
?>
<tr><td align="right" colspan="4"><strong>Grand Total :</strong></td><td colspan="4" align="center">Rs. <?php echo"<strong>$finalone</strong>";?>/-</td></tr>

<?php
}
?>
<tr><td colspan="8" align="center"><br><center><input type="submit" class="amo-submit" value=">> Proceed to Checkout >>"></center><br></td></tr>
<?php 
if(isset($_POST['stax']) && $_POST['stax']=='yes'){
$srtax=$_POST['srtax'];
} 
else {
$srtax='0';
}
?>
<input type="hidden" name="finalone" value="<?php echo"$finalone";?>">
<input type="hidden" name="amount" value="<?php echo"$_POST[amount]";?>">
<input type="hidden" name="discount" value="<?php echo"$_POST[discount]";?>">
<input type="hidden" name="srtax" value="<?php echo"$_POST[srtax]";?>">
<input type="hidden" name="stax" value="<?php echo"$_POST[stax]";?>">
	</form>
	</table>
</div>			
</div>
<?php
	include "templatic/footer.php";
?>


PK 99