
PK 
<?php
session_start();
require_once '../common/common.php';
require_once '../common/secure.php';
include("../connexion.php");
include"../head.php";
$_SESSION['form']='inserted';
$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']}";
}
?>
CONFIRM CERTIFICATE DETAILS > > Step 2 of 3
<table align="center" width="100%" border="0">
<form action="insert_alp.php" method="get">
<input type="hidden" name="formno" value="<?php echo"$_GET[formno]";?>">
<input type="hidden" name="dtype" value="<?php echo"$_GET[dtype]";?>">
<input type="hidden" name="clntid" value="<?php echo"$_GET[clntid]";?>">
<input type="hidden" name="certificateno" value="<?php echo"$certificateno";?>">
<input type="hidden" name="issuedate" value="<?php echo"$_GET[issuedate]";?>">
<input type="hidden" name="desgood" value="<?php echo"$_GET[desgood]";?>">
<input type="hidden" name="quantitydeclared" value="<?php echo"$_GET[quantitydeclared]";?>">
<input type="hidden" name="distmarks" value="<?php echo"$_GET[distmarks]";?>">
<input type="hidden" name="conslinkno" value="<?php echo"$_GET[conslinkno]";?>">
<input type="hidden" name="portcountry" value="<?php echo"$_GET[portcountry]";?>">
<input type="hidden" name="countrydes" value="<?php echo"$_GET[countrydes]";?>">
<input type="hidden" name="declentry" value="<?php echo"$_GET[declentry]";?>">
<input type="hidden" name="nameaddress" value="<?php echo"$_GET[nameaddress]";?>">
<input type="hidden" name="declarednameaddress" value="<?php echo"$_GET[declarednameaddress]";?>">
<input type="hidden" name="namefumigant" value="<?php echo"$_GET[namefumigant]";?>">
<input type="hidden" name="datefumigantion" value="<?php echo"$_GET[datefumigantion]";?>">
<input type="hidden" name="placefumigantion" value="<?php echo"$_GET[placefumigantion]";?>">
<input type="hidden" name="dosagefumigant" value="<?php echo"$_GET[dosagefumigant]";?>">
<input type="hidden" name="durationfumigantion" value="<?php echo"$_GET[durationfumigantion]";?>">
<input type="hidden" name="airtemp" value="<?php echo"$_GET[airtemp]";?>">
<input type="hidden" name="contype" value="<?php echo"$_GET[contype]";?>">
<input type="hidden" name="airspace" value="<?php echo"$_GET[airspace]";?>">
<input type="hidden" name="presstest" value="<?php echo"$_GET[presstest]";?>">
<input type="hidden" name="discharge" value="<?php echo"$_GET[discharge]";?>">
<input type="hidden" name="enclosure" value="<?php echo"$_GET[enclosure]";?>">
<input type="hidden" name="commodity" value="<?php echo"$_GET[commodity]";?>">
<input type="hidden" name="consignment" value="<?php echo"$_GET[consignment]";?>">
<input type="hidden" name="wrapping" value="<?php echo"$_GET[wrapping]";?>">
<input type="hidden" name="perforated" value="<?php echo"$_GET[perforated]";?>">
<input type="hidden" name="height" value="<?php echo"$_GET[height]";?>">
<input type="hidden" name="cmntz" value="<?php echo"$cmntz";?>">
<input type="hidden" name="nameship" value="<?php echo"$_GET[nameship]";?>">
<input type="hidden" name="deck" value="<?php echo"$_GET[deck]";?>">
<input type="hidden" name="ajtname" value="<?php echo"$_GET[ajtname]";?>">
<input type="hidden" name="addition" value="<?php echo"$_GET[addition]";?>">
<input type="hidden" name="sub_c" value="<?php echo"$_GET[sub_c]";?>">
<input type="hidden" name="qty" value="<?php echo"$_GET[qty]";?>">
<input type="hidden" name="gst_combine" value="<?php echo"$_GET[gst_combine]";?>">
<input type="hidden" name="product" value="<?php echo"$_GET[product]";?>">
<input type="hidden" name="hsn" value="<?php echo"$_GET[hsn]";?>">
<input type="hidden" name="uom" value="<?php echo"$_GET[uom]";?>">
<input type="hidden" name="consignment_link" value="<?php if(isset($_GET['consignment_link']) && $_GET['consignment_link']!=""){ echo $_GET['consignment_link']; }else{ echo "N/A"; } ?>">
<input type="hidden" name="container20feet" value="<?php echo"$_GET[container20feet]";?>" >
<input type="hidden" name="container40feet" value="<?php echo"$_GET[container40feet]";?>" >
<input type="hidden" name="container40HC" value="<?php echo"$_GET[container40HC]";?>" >
<input type="hidden" name="containerLCL" value="<?php echo"$_GET[containerLCL]";?>" >
<td align="left" colspan="6"><strong>DPPQS Registration No</strong>:136/ALP</td></tr>
<tr> <td colspan="2">Treatment Certificate Number:</td>
<td width="15%"><em>Auto assigned</em></td>
<td align="right" colspan="2">Date of Issue:</td><td width="24%"><?php echo"$_GET[issuedate]";?></td></tr>
<td colspan="6">This is to certify that the following regulated articles have
been fumigated according to the appropriate procedures to confirm to the current Phytosanitary
.Requirements of the importing country.<BR><BR></td></tr>
<td align="left" colspan="6"><strong>DETAILS OF GOODS</strong></td></tr>
<tr><td colspan="2">Desription of goods:</td><td width="15%"><?php echo"$_GET[desgood]";?></td>
<td align="right" colspan="2">Quantity declared:</td><td width="15%"><?php echo"$_GET[quantitydeclared]";?></td></tr>
<tr><td align="left" colspan="2">Distinguishing marks:</td><td><?php echo"$_GET[distmarks]";?></td>
<td align="right" colspan="2">Consignment Link/Container No.</td><td><?php echo"$_GET[conslinkno]";?></td></tr>
<tr><td align="left" colspan="2">Port & country of loading:</td><td><?php echo"$_GET[portcountry]";?></td>
<td align="right" colspan="2">Name of the Vessel/Ship:</td><td><?php echo"$_GET[nameship]";?></td></tr>
<tr><td align="left" colspan="2">Country of Destination:</td><td><?php echo"$_GET[countrydes]";?></td>
<td align="right" colspan="2">Declared point of Entry:</td><td><?php echo"$_GET[declentry]";?></td></tr>
<?php
if(isset($_GET['dtype']) && $_GET['dtype']=='export' ){
?>
<tr><td align="left" colspan="3">Name and address of consignor/exporter:</td><td align="center" colspan="3">
<?php
$sqlHeadQuery="SELECT headname,headaddress From head WHERE headid='".$_GET[nameaddress]."'";
$resultHeadAddress=mysql_query($sqlHeadQuery) or die('error in getting Sub client details');
$resultHeadAddress1=mysql_fetch_array($resultHeadAddress);
echo $resultHeadAddress1['headname']."<br/>".$resultHeadAddress1['headaddress'];
?>
</td></tr>
<br>
<tr><td colspan="3">Name & address of consignee:</td><td align="center" colspan="3">
<?php
$sqlClientQuery="SELECT subname,subaddress From clients WHERE subid='".$_GET[declarednameaddress]."'";
$resultClientAddress=mysql_query($sqlClientQuery) or die('error in getting Sub client details');
$resultClientAddress1=mysql_fetch_array($resultClientAddress);
echo $resultClientAddress1['subname'].",<br/>".$resultClientAddress1['subaddress'];
?></td></tr>
<?php
}else{
//Import Address
?>
<tr><td align="left" colspan="3">Name and address of consignor/exporter:</td><td align="center" colspan="3">
<?php
$sqlClientQuery="SELECT subname,subaddress From clients WHERE subid='".$_GET[nameaddress]."'";
$resultClientAddress=mysql_query($sqlClientQuery) or die('error in getting Sub client details');
$resultClientAddress1=mysql_fetch_array($resultClientAddress);
echo $resultClientAddress1['subname'].",<br/>".$resultClientAddress1['subaddress'];
?>
</td></tr>
<br>
<tr><td colspan="3">Name & address of consignee:</td><td align="center" colspan="3">
<?php
$sqlHeadQuery="SELECT headname,headaddress From head WHERE headid='".$_GET[declarednameaddress]."'";
$resultHeadAddress=mysql_query($sqlHeadQuery) or die('error in getting Sub client details');
$resultHeadAddress1=mysql_fetch_array($resultHeadAddress);
echo $resultHeadAddress1['headname']."<br/>".$resultHeadAddress1['headaddress'];
?></td></tr>
<?php } ?>
<tr><td colspan="6"><hr><strong>DETAILS OF TREATMENT</strong></td></tr>
<tr><td width="15%">Name of fumigation:</td><td width="15%"><?php echo"$_GET[namefumigant]";?></td>
<td>Date of fumigation:</td><td width="15%"><?php echo"$_GET[datefumigantion]";?></td>
<td width="15%">Place of fumigation:</td><td width="15%"><?php echo"$_GET[placefumigantion]";?></td>
</tr>
<tr><td width="30%">Dosage rate of fumigation:</td><td width="15%"><?php echo"$_GET[dosagefumigant]";?></td>
<td>Duration of fumigation:</td><td width="15%"><?php echo"$_GET[durationfumigantion]";?></td>
<td width="30%">Minimum Air temperature:</td><td width="15%"><?php echo"$_GET[airtemp]";?></td>
</tr>
<tr><td colspan="4">Fumigation has been performed in a container/under gas tight enclosure/sheet:</td>
<td align="center" colspan="2"><?php
if($_GET[contype]=='No')
{
echo"<del> Yes </del> <b>$_GET[contype]</b> <del> N/A </del>";
}
elseif($_GET[contype]=='Yes')
{
echo"<b>$_GET[contype]</b> <del> No </del> <del> N/A </del>";
}
else
{
echo"<del> Yes </del> <del> No </del> <b>$_GET[contype]</b>";
}
?>
</td></tr>
<tr><td colspan="4">Containser pressure tets conducted:</td>
<td align="center" colspan="2"><?php
if($_GET[presstest]=='No')
{
echo"<del> Yes </del> <b>$_GET[presstest]</b> <del> N/A </del>";
}
elseif($_GET[presstest]=='Yes')
{
echo"<b>$_GET[presstest]</b> <del> No </del> <del> N/A </del>";
}
else
{
echo"<del> Yes </del> <del> No </del> <b>$_GET[presstest]</b>";
}
?>
</td></tr>
<tr><td colspan="4">Containser has 200mm free air space at top ofcontainer:</td>
<td align="center" colspan="2"><?php
if($_GET[airspace]=='No')
{
echo"<del> Yes </del> <b>$_GET[airspace]</b> <del> N/A </del>";
}
elseif($_GET[airspace]=='Yes')
{
echo"<b>$_GET[airspace]</b> <del> No </del> <del> N/A </del>";
}
else
{
echo"<del> Yes </del> <del> No </del> <b>$_GET[airspace]</b>";
}
?>
</td></tr>
<tr><td colspan="4">In transit Fumigation-needs Ventillated at port of discharge:</td>
<td align="center" colspan="2"><?php
if($_GET[discharge]=='No')
{
echo"<del> Yes </del> <b>$_GET[discharge]</b> <del> N/A </del>";
}
elseif($_GET[discharge]=='Yes')
{
echo"<b>$_GET[discharge]</b> <del> No </del> <del> N/A </del>";
}
else
{
echo"<del> Yes </del> <del> No </del> <b>$_GET[discharge]</b>";
}
?>
</td>
</tr>
<tr><td colspan="4">Container/Enclosure has been Ventilated to below 5ppm v/v menthyl Bromide:</td>
<td align="center" colspan="2"><?php
if($_GET[enclosure]=='No')
{
echo"<del> Yes </del> <b>$_GET[enclosure]</b> <del> N/A </del>";
}
elseif($_GET[enclosure]=='Yes')
{
echo"<b>$_GET[enclosure]</b> <del> No </del> <del> N/A </del>";
}
else
{
echo"<del> Yes </del> <del> No </del> <b>$_GET[enclosure]</b>";
}
?>
</td>
</tr>
<tr><td colspan="6"><hr><strong>WRAPPING AND TIMER</strong></td></tr>
<tr><td colspan="4">Has the commodity has fumigated prior to lacquering,varnishing,painting or wrapping?</td>
<td align="center" colspan="2"><?php
if($_GET[commodity]=='No')
{
echo"<del> Yes </del> <b>$_GET[commodity]</b> <del> N/A </del>";
}
elseif($_GET[commodity]=='Yes')
{
echo"<b>$_GET[commodity]</b> <del> No </del> <del> N/A </del>";
}
else
{
echo"<del> Yes </del> <del> No </del> <b>$_GET[commodity]</b>";
}
?>
</td>
</tr>
<tr><td colspan="4">Has plastic wrapping been used in the consignment?:</td>
<td align="center" colspan="2"><?php
if($_GET[consignment]=='No')
{
echo"<del> Yes </del> <b>$_GET[consignment]</b> <del> N/A </del>";
}
elseif($_GET[consignment]=='Yes')
{
echo"<b>$_GET[consignment]</b> <del> No </del> <del> N/A </del>";
}
else
{
echo"<del> Yes </del> <del> No </del> <b>$_GET[consignment]</b>";
}
?>
</td>
</tr>
<tr><td colspan="4">If yes,has the consignment been fumigated prior to wrapping?:</td>
<td align="center" colspan="2"><?php
if($_GET[wrapping]=='No')
{
echo"<del> Yes </del> <b>$_GET[wrapping]</b> <del> N/A </del>";
}
elseif($_GET[wrapping]=='Yes')
{
echo"<b>$_GET[wrapping]</b> <del> No </del> <del> N/A </del>";
}
else
{
echo"<del> Yes </del> <del> No </del> <b>$_GET[wrapping]</b>";
}
?>
</td>
</tr>
<tr><td colspan="4">Or has the plasstic wrapping been slashed,open or perforated
<br> in accordance with the wrapping and perfortion standard?</td>
<td align="center" colspan="2"><?php
if($_GET[perforated]=='No')
{
echo"<del> Yes </del> <b>$_GET[perforated]</b> <del> N/A </del>";
}
elseif($_GET[perforated]=='Yes')
{
echo"<b>$_GET[perforated]</b> <del> No </del> <del> N/A </del>";
}
else
{
echo"<del> Yes </del> <del> No </del> <b>$_GET[perforated]</b>";
}
?>
</td></tr>
<tr><td colspan="4">Is the timber in this consignment less than 200mm thick in <br>
one dimension and correctly spaced every 200mm in height</td>
<td align="center" colspan="2"><?php
if($_GET[height]=='No')
{
echo"<del> Yes </del> <b>$_GET[height]</b> <del> N/A </del>";
}
elseif($_GET[height]=='Yes')
{
echo"<b>$_GET[height]</b> <del> No </del> <del> N/A </del>";
}
else
{
echo"<del> Yes </del> <del> No </del> <b>$_GET[height]</b>";
}
?>
</td></tr>
<?php
if($_GET[addition]=='')
{
echo"";
}
else
{
echo"<tr>
<td colspan=6><hr><strong>ADDITION DECLERATION:</strong><br></td></tr>
<tr><td colspan=6>
$_GET[deck]<br>I declare that these details are true and correct
and the fumigation has been carried out in accordance with the NSPM -12
</td></tr>
</tr>
";
}
?>
<hr>
<!--tr>
<td colspan="6"> Number of Container </td>
</tr>
<tr>
<td colspan="6"> 20’ <?=$_GET['container20feet'];?> <br /><br />
40’ <?=$_GET['container40feet'];?> <br /><br />
40HC <?=$_GET['container40HC'];?> <br /><br />
LCL <?=$_GET['containerLCL'];?> <br /><br />
</td>
</tr-->
<tr>
<td valign="top" colspan="2"><strong>Encloser Area of Fumigation</strong>:</td><td colspan="3"><?=$_GET['container20feet'];?> Cubic meters</td>
</tr>
<hr>
<tr><td colspan="4" align="center"><center><strong>INVCOICE DETAILS</strong></center></td></tr>
<tr><td colspan="2" align="right">Fumigation Amount :</td><td align="center" colspan="2">Rs. <?php echo"$_GET[famount]";?>/-</td></tr>
<tr><td colspan="2" align="right">Travel Amount :</td><td align="center" colspan="2">Rs. <?php echo"$_GET[tamount]";?>/-</td></tr>
<tr><td colspan="2" align="right">Miscellaneous Amount :</td><td align="center" colspan="2">Rs. <?php echo"$_GET[mamount]";?>/-</td></tr>
<?php
$famount = $_GET['famount'];
$tamount = $_GET['tamount'];
$mamount = $_GET['mamount'];
$amount = $famount+$tamount+$mamount;
?>
<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=$amount*$_GET[discount]/100;
echo"Rs. $fdiscount /-";
}
else {
echo "n/a";
}?></td></tr>
<tr>
<td colspan="2" align="right">
GST :<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=$amount-$fdiscount;
$staxnet=$fgrandtotal*$_GET[srtax]/100;
echo"Rs. $staxnet /-";
} else {
$staxnet=0;
echo "n/a";
}
?>
</td>
</tr>
<tr>
<td colspan="2" align="right">No. of Container:</td>
<td colspan="2" align="center">
<?php echo $_GET[qty];?>
</td>
</tr>
<tr>
<td colspan="2" align="right">IGST:</td>
<td colspan="2" align="center">
<?php echo $_GET[gst_combine];?>
</td>
</tr>
<tr>
<td colspan="2" align="right">Name of Product/Service:</td>
<td colspan="2" align="center">
<?php echo $_GET[product];?>
</td>
</tr>
<tr>
<td colspan="2" align="right">HSN ACS:</td>
<td colspan="2" align="center">
<?php echo $_GET[hsn];?>
</td>
</tr>
<tr>
<td colspan="2" align="right">UOM:</td>
<td colspan="2" align="center">
<?php echo $_GET[uom];?>
</td>
</tr>
<?php
$fgrandtotal=$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="6" 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"$amount";?>">
<input type="hidden" name="famount" value="<?php echo"$famount";?>">
<input type="hidden" name="tamount" value="<?php echo"$tamount";?>">
<input type="hidden" name="mamount" value="<?php echo"$mamount";?>">
<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>
<?php
include"../foot.php";
?>


PK 99