<?php session_start();
include("connection.php");
error_reporting(E_ERROR | E_PARSE); 
if($_SESSION["user_id"]==true) {
} else {?><script> window.location.href='login/'; </script> <?php } 

 $bill_no=$_REQUEST["bill_no"];


 $bill=mysqli_query($con,"select * from onshop where `bill_no`='".$bill_no."' and `status`='active' and `bill_status`='pending' "); $billr=mysqli_fetch_array($bill,MYSQLI_ASSOC);
  $billn=mysqli_num_rows($bill);

?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- /Added by HTTrack --><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--
<link type="text/css" rel="stylesheet" href="javax.faces.resource/themeab55.css?ln=primefaces-aristo" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/dist-butterfaces-bootstrap.min4e5d.css?ln=butterfaces-dist-css" />
-->
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/default.css" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/cssLayout.css" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/bootstrap.min.css" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/popup.css" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/menu.css" />
<!--
<script type="text/javascript" src="javax.faces.resource/butterfaces-all-with-jquery-and-bootstrap-bundle.min686a.js?ln=butterfaces-dist-bundle-js"></script>
<script type="text/javascript" src="javax.faces.resource/js/jquery-3.4.0.min.js"></script>
<script type="text/javascript" src="javax.faces.resource/js/bootstrap.js"></script>
<script type="text/javascript" src="javax.faces.resource/js/jquery-1.11.2.js"></script>
<script type="text/javascript" src="javax.faces.resource/js/jssor.slider-27.5.0.min.js"></script>
<script type="text/javascript" src="javax.faces.resource/jquery8490.js?ln=js"></script>
<script type="text/javascript" src="javax.faces.resource/menu8490.js?ln=js"></script>
<script type="text/javascript" src="javax.faces.resource/js/canvasjs.min.js"></script>
        
  -->     
        <script type="text/javascript">
            $(function() {
                $('ul.nav li.dropdown').hover(function() {
                    $(this).find('.dropdown-menu').stop(true, true).delay(100).fadeIn(500);
                }, function() {
                    $(this).find('.dropdown-menu').stop(true, true).delay(100).fadeOut(500);
                });
            });
        </script>
        <script type="text/javascript">
            $(function() {
                $("#notice").fadeIn("slow").append('');
                $(".dismis").click(function() {
                    $("#notice").fadeOut("slow");
                });
            });
        </script>
		
<script>
function lfn_SelectSection(p_Class)
    {
        document.getElementById('cusname').disabled=false;
		
  
        $.ajax({
		
                    type: "GET",
                    url: "ajax_location.html?classID=" + p_Class,
                    success: function(state) {
                    document.getElementById('cusname').innerHTML=state;    
					
                    }
        });
		
	 
		
		
    }

</script>
<style> 
        input.largerCheckbox { 
            width: 20px; 
            height: 20px; 
			
        } 
    </style> 
        <title>Katha O Cafe</title></head><body>

        <div id="top">


                    <div class="container-fluid text-center" style="margin-left: 5px"> 
                        <div class="row">
                            <div class="col-sm-1">
							<!-- Logo -->
							
							
                            </div>                           
                                       
                           
                        </div>
                    </div>

                    <!-- Menu start  -->

                    <nav class="navbar navbar-expand-lg header-m" role="navigation">
                        <div class="container-fluid">
                            <div class="navbar-header">
                                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                                    <span class="sr-only">Toggle navigation</span>
                                    <span class="icon-bar" style="background-color: #fff;"></span>
                                    <span class="icon-bar" style="background-color: #fff;"></span>
                                    <span class="icon-bar" style="background-color: #fff;"></span>
                                </button>
                                <a class="navbar-brand" href="#"></a>
                            </div>

                            <!-- Collect the nav links, forms, and other content for toggling -->
                            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                                <ul class="nav navbar-nav">
                                    <li>
<script type="text/javascript" src="javax.faces.resource/jsf8be1.js?ln=javax.faces"></script>
<a href="index.php" ><img src="home.PNG" width="25"></a></li>
                                    <li><a href="#" >About Us</a></li>
                                    <li><a href="#" >Coverage</a></li>
                                    <li><a href="#" >Circulars / Memo</a></li>
                                    <li><a href="#" onClick="mojarra.jsfcljs(document.getElementById('j_idt22'),{'j_idt22:j_idt36':'j_idt22:j_idt36'},'');return false">Manual / FAQ</a></li>
                                    <li><a rel="noopener noreferrer" target="_blank" href="http://ependemo.wb.gov.in/e_Pension/AdminLogin">Training Setup</a></li>
                                    <li class="dropdown">
                                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Help <b class="caret"></b></a>
                                        <ul class="dropdown-menu">
                                            <li><a href="#" onClick="mojarra.jsfcljs(document.getElementById('j_idt22'),{'j_idt22:j_idt38':'j_idt22:j_idt38'},'');return false">Contact List</a></li>

                                            <li><a href="#"><a href="#" onclick="mojarra.jsfcljs(document.getElementById('j_idt22'),{'j_idt22:j_idt40':'j_idt22:j_idt40'},'');return false">Help Desk</a></a></li>
                                        </ul>
                                    </li>
                                    <li class="dropdown">
                                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" style="background-color: blue;">Login <b class="caret"></b></a>
                                        <ul class="dropdown-menu">
                                            <li><a rel="noopener noreferrer" target="_blank" href="../e_Pension/ApplicantLogin.html">Applicant Login</a></li>
                                            <li><a rel="noopener noreferrer" target="_blank" href="../e_Pension/AdminLogin.html">Other Than Applicant Login</a></li>

                                        </ul>
                                    </li>
                                </ul>

                                <ul class="nav navbar-nav navbar-right"></ul>
                            </div>

                            <!-- /.navbar-collapse -->
                        </div>
                        <!-- /.container-fluid -->
                    </nav>

        </div>

        <div id="content" class="center_content" style="background-image:url(wall.jpg)">

                    <div class="container-fluid text-center">    
                        <div class="row">
                            <div class="col-sm-2" style="padding-right: 0px;">
							
							
							
							
							
                                <div class="well well-sm" style="background-color: #007de8; font-size: 17px;margin: 0px; border: 1px #000 solid;"><img src="javax.faces.resource/applcnte0f8.png?ln=img" style="width: 19%;" />
                                    <p><a href="#">Customer List </a></p>
                                </div>
                                <div class="well well-sm" style="background-color: #007de8;font-size: 17px;margin: 0px; border: 1px #000 solid;"><!--<img src="javax.faces.resource/usere0f8.png?ln=img" style="width: 19%;" />-->
								<img src="javax.faces.resource/appln-statuse0f8.png?ln=img" style="width: 20%;" />
                                    <p><a href="#"><font color="#FF0000">Product Search</font></a></p>
                                </div>
                                <div class="well well-sm" style="background-color: #007de8;font-size: 17px;margin: 0px; border: 1px #000 solid;"><!--<img src="javax.faces.resource/groupe0f8.png?ln=img" style="width: 25%;" />-->
								<img src="javax.faces.resource/smse0f8.png?ln=img" style="width: 20%;" />
                                    <p><a><a href="#" onClick="mojarra.jsfcljs(document.getElementById('j_idt43'),{'j_idt43:j_idt51':'j_idt43:j_idt51'},'');return false">Bulk SMS</a></a></p>                                   
                                </div>
                                <div class="well well-sm" style="background-color: #007de8;font-size: 17px; border: 1px #000 solid;"><!--<img src="javax.faces.resource/managemente0f8.png?ln=img" style="width: 20%; " /> -->
								<img src="javax.faces.resource/medale0f8.png?ln=img" style="width: 20%;" />
                                    <p><a><a href="#" onClick="mojarra.jsfcljs(document.getElementById('j_idt43'),{'j_idt43:j_idt55':'j_idt43:j_idt55'},'');return false">Offer & Discount</a></a></p>                                   
                                </div>

                                <div class="panel panel-primary" style="background-color: rgb(186,233,254);">
                                    <div class="panel-heading" style="font-size: 14px; font-weight: 600;background-color: #007de8;text-shadow: 1px 2px 2px #000;  ">Onshop unpaid Bill </div>
									<div style="height:357.4px;">
<br>
                                   
                                        <p style="color: #000; font-family: verdana; font-size:9pt; font-weight: bold;width:98%; padding-left:10px; ">
                                           Notice 1 
                                        </p>
										 <p style="color: #000; font-family: verdana; font-size:9pt; font-weight: bold;width:98%; padding-left:10px; ">
                                           Notice 2 
                                        </p>
 </div>                                   

                                </div>

                            </div>

                            <div class="col-sm-8" style="padding-right: 2px; padding-left:2px;">

                                <div class="row" >
                                    <div class="col-sm-12" >

                                        <div class="panel panel-primary" style="background-color: rgb(186,233,254);border: 1px solid #000; margin-bottom: 0px; height:790px; background-image:url(wall.jpg)">
                                            <div class="panel-heading" style="font-size: 20px; font-family: serif; background-color: #007de8; color:#CCFF00"> <b>Product List</b></div>
                                            <div class="panel-body" style="text-align: justify;padding-bottom: 0px; padding-top: 6px;"><p style="font-family: Cambria;"><strong>
					 
					 

<b><font color="red">Select Category : </font></b><select name="" id="cat" style="width:200px; height:25px; background-color:#99FF66" onChange="show_p2();" >
<option value="0" <?php if($_REQUEST["id"]=="0") { ?> selected="selected" <?php } else {} ?>>Select Category</option>
<option value="1"  <?php if($_REQUEST["id"]=="1") { ?> selected="selected" <?php } else {} ?>  ><font color="#0000FF">All Category</font></option>
<?php $c=mysqli_query($con,"select * from category"); while($cr=mysqli_fetch_array($c,MYSQLI_ASSOC)) {  $ct=$cr["cat_name"]; ?>
<option  <?php if($_REQUEST["id"]==$ct) { ?> selected="selected" <?php } else {} ?> value="<?php echo $cr["cat_name"]; ?>"><?php echo $cr["cat_name"]; ?></option>

<?php } ?>
</select>
	&nbsp;&nbsp;<b>Product Stock %</b>&nbsp;&nbsp;
<select name="" id="catx" style="width:100px; height:25px; background-color:#99FF66" onChange="show_p();">
<?php for($p=0;$p<=100; $p++) {  ?>
<option value="<?php echo $p; ?>" <?php if($_REQUEST["stock"]==$p) { ?> selected="selected" <?php } else {} ?> ><?php echo $p; ?></option>
<?php } ?>
</select>	
	
	
	
	
	
	
<script>
function show_p2() {
 var v=document.getElementById("cat").value;
// var vv=document.getElementById("catx").value;
 window.location.href="?id="+v+"&stock=100";
}
function show_p() {
 var v=document.getElementById("cat").value;
 var vv=document.getElementById("catx").value;
 window.location.href="?id="+v+"&stock="+vv;
}
</script>	 	
<table style="width:100%;" border="1"	>
<tr style="height:30px; background-color:#0066FF; color:#FFFFFF;">
<td align="center"><b>Sl No.</b></td>
<td align="center"><b>Product Name </b></td>
<td align="center"><b>Company Name</b></td><td align="center"><b>MRP</b></td><td><b>Selling Price</b></td><td><b>Size</b></td><td><b>Stock</b></td><td><b>Peg</b></td><td><b>Photo</b></td><td align="center"><b>Action</b></td>
</tr>
<?php 

$i=1; $id=$_REQUEST["id"]; if($id=="1") { $c=mysqli_query($con,"select * from product  GROUP BY `category` "); } else {  }
//if($id !="1" AND $id !="0") { $c=mysqli_query($con,"select * from product where `category`='".$id."' "); } else {}
 while($cr=mysqli_fetch_array($c,MYSQLI_ASSOC)) { ?><?php $cat= $cr["category"]; $cp=mysqli_query($con,"select * from product where `category`='".$cat."' ");
 ?>
 <tr style="height:30px"><td colspan="5"><font color="red"><b>All <?php echo $cr["category"]; ?></b></font></td></tr> <?php 
  while($cpr=mysqli_fetch_array($cp,MYSQLI_ASSOC)) {
  ?>
<tr <?php if($i%2 =="0") { ?> style="background-color:#FFE9D2" <?php } else { ?> style="background-color:#A4FFA4" <?php } ?> height="35" >

<td align="center"><?php echo $i; ?></td>
<td align="center"><?php echo $cpn= $cpr["product_name"]; ?> </td>

<td align="center"><?php echo $cpr["company"]; ?></td> 
<td align="center"><?php echo $cpr["mrp"]; ?></td>
<td><?php echo $cpr["price"]; ?></td>
<td><?php echo $cpr["volume"]; ?> <?php echo $cpr["unit"]; ?></td>
<td>&nbsp;<?php echo $cpr["quantity"]; ?></td>
<td><?php if($cpr["peg"]=="yes") { ?> &nbsp;<img src="yes.png" width="25">  <?php } else {?>  &nbsp;<img src="no.png" width="25"> <?php   } ?></td>
<td><img src="<?php echo $cpr['photo']; ?>" width="35"></td>
<td align="center"><img src="edit.png" width="20"> <img src="del.png" width="20"></td>
</tr>
<?php if($cpr["peg"]=="yes") { ?> <tr style="background-color:#FFCCFF; height:30px"><td colspan="10"> 
<?php if($cpr["p1"]!="") { ?>
<font color="#0000FF"> <b>Peg Vol :</b> <?php echo $cpr["v1"]; ?> ml  <b>Rs. :</b> <?php echo $cpr["p1"]; ?>/-</font> **<?php } else { }?>  
<?php if($cpr["p2"]!="") { ?>
<font color="green"> <b>Peg Vol :</b> <?php echo $cpr["v2"]; ?> ml <b>Rs. :</b> <?php echo $cpr["p2"]; ?>/-</font> ** <?php } else { }?>
 <?php if($cpr["p3"]!="") { ?>
 <font color="#CC00FF"> <b>Peg Vol :</b> <?php echo $cpr["v3"]; ?> ml <b>Rs. :</b> <?php echo $cpr["p3"]; ?>/-</font> ** <?php } else { }?> 
<?php if($cpr["p3"]!="") { ?>
<font color="#660000"> <b>Peg Vol :</b> <?php echo $cpr["v4"]; ?> ml <b>Rs. :</b> <?php echo $cpr["p4"]; ?>/-</font> ** <?php } else { }?> 
</td></tr><?php } ?>
<?php $i++; }
} 








$i=1; $id=$_REQUEST["id"]; 
if($id !="1" AND $id !="0") { $c=mysqli_query($con,"select * from product where `category`='".$id."' "); } else {}
 while($cpr=mysqli_fetch_array($c,MYSQLI_ASSOC)) { ?>

<tr <?php if($i%2 =="0") { ?> style="background-color:#FFE9D2" <?php } else { ?> style="background-color:#A4FFA4" <?php } ?> height="35" >

<td align="center"><?php echo $i; ?></td>
<td align="center"><?php echo $cpn= $cpr["product_name"]; ?></td>
<td align="center"><?php echo $cpr["company"]; ?></td> 
<td align="center"><?php echo $cpr["mrp"]; ?></td>
<td><?php echo $cpr["price"]; ?></td>
<td><?php echo $cpr["volume"]; ?> <?php echo $cpr["unit"]; ?></td>
<td>&nbsp;<?php echo $cpr["quantity"]; ?></td>

<td><?php if($cpr["peg"]=="yes") { ?> &nbsp;<img src="yes.png" width="25">  <?php } else {?>  &nbsp;<img src="no.png" width="25"> <?php   } ?></td>
<td><img src="<?php echo $cpr['photo']; ?>" width="35"></td>
<td align="center"><img src="edit.png" width="20"> <img src="del.png" width="20"></td>
</tr>
<?php if($cpr["peg"]=="yes") { ?> <tr style="background-color:#FFCCFF; height:30px"><td colspan="10"> 
<?php if($cpr["p1"]!="") { ?>
<font color="#0000FF"> <b>Peg Vol :</b> <?php echo $cpr["v1"]; ?> ml  <b>Rs. :</b> <?php echo $cpr["p1"]; ?>/-</font> **<?php } else { }?>  
<?php if($cpr["p2"]!="") { ?>
<font color="green"> <b>Peg Vol :</b> <?php echo $cpr["v2"]; ?> ml <b>Rs. :</b> <?php echo $cpr["p2"]; ?>/-</font> ** <?php } else { }?>
 <?php if($cpr["p3"]!="") { ?>
 <font color="#CC00FF"> <b>Peg Vol :</b> <?php echo $cpr["v3"]; ?> ml <b>Rs. :</b> <?php echo $cpr["p3"]; ?>/-</font> ** <?php } else { }?> 
<?php if($cpr["p3"]!="") { ?>
<font color="#660000"> <b>Peg Vol :</b> <?php echo $cpr["v4"]; ?> ml <b>Rs. :</b> <?php echo $cpr["p4"]; ?>/-</font> ** <?php } else { }?> 
</td></tr><?php } ?>
<?php $i++; }










?>
</table>
			

<?php   if(isset($_POST["save"]))
        {
		 $pt=$_POST["pt"];
		 $bill_no=$_REQUEST["bill_no"];
$b=mysqli_query($con,"select * from onshop where `bill_status`='pending' and `bill_no`='".$bill_no."'  "); $i=1; while($br=mysqli_fetch_array($b,MYSQLI_ASSOC)) {	
  $p_id=$br["product_id"];
  $p=mysqli_query($con,"select * from product where `id`='".$p_id."'" ); $pr=mysqli_fetch_array($p,MYSQLI_ASSOC);
		 $qnty=$br["qnty"];	
           $quantity=$pr["quantity"];
		if($br["peg_bottle"]=="peg") {  
					
					 $p=mysqli_query($con,"select * from product where `id`='".$p_id."'" ); $pr=mysqli_fetch_array($p,MYSQLI_ASSOC);
					  $total_peg=$pr["total_peg"];  //bottle
					  $current_peg=$pr["curent_peg"]; //bottle
					  
					  $remain=$total_peg - $current_peg; // peg to empty bottle 
					// $current_peg=$current_peg+ $qnty;
		 		if($qnty==$remain) {
		   			  $quantity=$quantity-1; // final quantity
					  $current_peg=0;  // final current peg
		 		} else { 
				     if($qnty > $remain) {  $qnty=$qnty-$remain;   $quantity=$quantity-1;  
					 $bc=intval($qnty/$total_peg);
					 $quantity=$quantity-$bc;
					 $remain2=$bc*$total_peg;
					 $remain2=$qnty-$remain2;
					 $current_peg=$remain2;
					 } else { $quantity;  $current_peg=$current_peg+1; }
				   /* $bc=intval($qnty/$total_peg);
				    $quantity=$quantity-$bc;
					 $remain2=$bc*$total_peg;
					 $remain2=$qnty-$remain2; //remain peg
					if($remain2>=$remain) { echo $quantity=$quantity-1;  echo $current_peg=$remain2-$remain;  } else {  }*/
				   
				}
				mysqli_query($con,"update product set `curent_peg`='".$current_peg."', `quantity`='".$quantity."' where `id`='".$p_id."' ");	
			
		
		} else { 
		$quantity=$pr["quantity"];
		 $quantity=$quantity-$qnty;
	mysqli_query($con,"update product set `quantity`='".$quantity."' where `id`='".$p_id."' ");
		}
		
 		
 mysqli_query($con,"update onshop set `bill_status`='complete', `payable`='".$pt."' where `bill_no`='".$bill_no."' ");	



?><script>window.location.href="index.php";</script><?php 	
}		
		}?>				 
<p>&nbsp;</p>					 
				
					 
					 
					 
	<!--				 					
											 <select name="class" id="class" class="form-control" onChange="lfn_SelectSection(this.value);">
                                            <option value="">--- Please Select Class ----</option>
                                             <option value="A">A</option>
											 <option value="B">B</option>
											 <option value="C">C</option>
                                             </select>
											Section
											 <select type="text" name="secname" id="secname" class="form-control" >
                                        	<option value="0">------select Section_o------</option>

                                        </select> -->	
										
                                                    </strong></p></div>
                                        </div>



                                    </div>
                                </div>

                            <!--   <div class="well" style="padding: 5px;background-color: rgb(186,233,254); border: 1px solid #000; margin-bottom: 1px;">
                                    <div class="row">
                                        
                                        
                                       
                                        
                                        
                                        
                                    </div> 
                                </div>-->
                                <div class="row">
                                   <!-- <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: antiquewhite;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/school-educatione0f8.png?ln=img" width="50" />  </div>
                                            <div class="panel-footer" style="padding: 1px 2px; background-color: #007de8; font-size: 13px;"><a href="../e_Pension/AdminLogin.html"> School Education Department Users</a>  </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: #7c5a5e;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/villagee0f8.png?ln=img" width="50" /></div>
                                            <div class="panel-footer" style="padding: 1px 2px;background-color: #007de8; font-size: 13px;"><a href="../e_Pension/AdminLogin.html">P &amp; R D Department Users</a>  </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: #f6f191;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/librarye0f8.png?ln=img" width="50" /></div>
                                            <div class="panel-footer" style="padding: 1px 2px;background-color: #007de8; font-size: 13px;"><a href="../e_Pension/AdminLogin.html">UD &amp; MA Department Users</a>  </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: #fff;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/images6e0f8.png?ln=img" width="50" /></div>
                                            <div class="panel-footer" style="padding: 1px 2px;background-color: #007de8; font-size: 13px;"><a href="../e_Pension/AdminLogin.html"> MEE &amp; LS Department Users</a>  </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: #ffdc6a;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/treasurye0f8.png?ln=img" width="50" /></div>
                                            <div class="panel-footer" style="padding: 10px 5px;background-color: #007de8; font-size: 13px;"><a href="../e_Pension/AdminLogin.html">Treasury Users</a>  </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: #5cfef2;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/users-groupe0f8.png?ln=img" width="50" /></div>
                                            <div class="panel-footer" style="padding: 1px 2px;background-color: #007de8; font-size: 12px;"><a href="../e_Pension/AdminLogin.html">Other Departments Users</a>  </div>
                                        </div>
                                    </div>    -->
                                </div>
                            
                               

                            </div>
                            <div class="col-sm-2" style="padding-left:0px;">
                                <div class="well well-sm hover-underConstruction" style="background-color: #007de8;font-size: 17px;margin: 0px; border: 1px #000 solid;"><img src="javax.faces.resource/report.png?ln=img" style="width: 20%;" />
                                    <p><a href="#" onClick="mojarra.jsfcljs(document.getElementById('j_idt43'),{'j_idt43:j_idt133':'j_idt43:j_idt133'},'');return false">Selling Report</a></p>  
                                </div>
                                <div class="well well-sm" style="background-color: #007de8;font-size: 17px;margin: 0px; border: 1px #000 solid;"><img src="javax.faces.resource/purchase.png?ln=img" style="width: 20%;" />
                                    <p><a href="#" onClick="mojarra.jsfcljs(document.getElementById('j_idt43'),{'j_idt43:j_idt137':'j_idt43:j_idt137'},'');return false">Purchase Report</a></p>
                                </div>
                                <div class="well well-sm" style="background-color: #007de8;font-size: 17px;margin: 0px;  border: 1px #000 solid;"><img src="javax.faces.resource/stock.png?ln=img" style="width: 20%;" />
                                    <p><a href="#" onClick="mojarra.jsfcljs(document.getElementById('j_idt43'),{'j_idt43:j_idt141':'j_idt43:j_idt141'},'');return false">Stock Report </a></p>
                                </div>
                                <div class="well well-sm" style="background-color: #007de8;font-size: 17px;border: 1px #000 solid;"><img src="javax.faces.resource/cash.png?ln=img" style="width: 20%;" />
                                    <p><a href="#" onClick="mojarra.jsfcljs(document.getElementById('j_idt43'),{'j_idt43:j_idt145':'j_idt43:j_idt145'},'');return false">Accounts</a></p>                                   
                                </div>



                                <div class="panel panel-primary" style="background-color: rgb(186,233,254);">
                                    <div class="panel-heading" style="font-size: 13px; font-weight: 600;background-color: #007de8; text-shadow: 1px 2px 2px #000;">Stock Report &lt; 30% </div>

                                    <marquee direction="up" scrollamount="1" onMouseOver="this.stop();" onMouseOut="this.start();" height="357.4px">
                                        <p style="color: #000; font-family: verdana; font-size:9pt; font-weight: bold;width:98%; padding-left:10px; ">
                                            <b style="color:#0134C6; font-size:12pt;"></b>Pension Status Enquiry <img src="javax.faces.resource/new-animatee0f8.gif?ln=img" /><br> </br> 
                                            <b style="color:#0134C6; font-size:12pt;"></b> Online Processing of Application.  <br> </br>
                                            <b style="color:#0134C6; font-size:12pt;"></b> Status tracking though PULL SMS <br> </br>
                                        </p>
                                    </marquee>

                                </div>
                            </div>                     
                        </div>

                    </div>
</form>
        </div>


        <div id="bottom">


                    <div class="container-fluid text-center" style="padding: 12px; margin-left: 60px; margin-right: 150px;"> 
                        <div class="row">
                            <div class="col-sm-1 "><img src="javax.faces.resource/india_stqc_tqvisiona54a.gif?ln=img/homepage" />
                            </div>   
                            <div class="col-sm-2 ">
                              <br />
                                <a style="font-size: 9px;" href="https://www.symantec.com/ssl-certificates" rel="noopener noreferrer" target="_blank">ABOUT SSL CERTIFICATES</a>
                            </div> 
                            <div class="col-sm-8" style="font-family: Imprint MT Shadow, Times, serif; color: #2400e8; ">
                                <div style="color: #fff">
                                    Website Content Managed by Directorate of Pension, Provident Fund and Group Insurance  Finance Department 
                                    <br>Designed, Developed and Hosted by  <a href="http://www.nic.in/" title="NIC, External Link that opens in a new window" rel="noopener noreferrer" target="_blank">National Informatics Centre( NIC )</a> </br> <span class="lastupdated" style="color: #E6F83C;"> Launched on: 01-04-2017 Last Updated: 04-06-2019 Version 2.0.1 (Best View and Support DSC for Mozilla Firefox 39 version)</span>
                                </div>

                            </div>                        
                            <div class="col-sm-1">
                                <a href="http://www.nic.in/" rel="noopener noreferrer" target="_blank"><img src="javax.faces.resource/nice0f8.png?ln=img" alt="Content Management Framework" /></a>
                            </div>

                        </div>
                    </div>

        </div>
		

		
		
		</body>



</html>