<?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);


$l=mysqli_query($con,"SELECT opening_balance, MAX(id) as bn FROM demand_gen");
					 $lr=mysqli_fetch_array($l,MYSQLI_ASSOC);   $max_id= $lr["bn"];
$ll=mysqli_query($con,"SELECT * FROM demand_gen where `id`='".$max_id."'");		
$llr=mysqli_fetch_array($ll,MYSQLI_ASSOC);

					 ?>



<!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">
                                <?php include("include/header.php"); ?>
                            </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;">
							
							
							
							
							
                                <?php include("include/left.php"); ?>

                                </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; background-image:url(wall.jpg) ">
                                            <div class="panel-heading" style="font-size: 20px; font-family: serif; background-color: #007de8; color:#CCFF00"> <b>DEMAND GENERATE</b></div>
                                        <div class="panel-body" style="text-align: justify;padding-bottom: 0px; padding-top: 6px;"><p style="font-family: Cambria;"><strong>
										 <font color="#FF0000"> <h4><b>Demand Generate :</b></h4></font>
										</strong>
<form method="post">
<b><font color="red">From Date : </font></b>
<input type="date" name="fd" id="cat1" style="width:150px; height:30px; background-color:#99FF66" value="<?php echo $_REQUEST['fd']; ?>">&nbsp;&nbsp;&nbsp;
To : &nbsp;&nbsp;&nbsp;<input type="date" name="td" id="cat2" style="width:150px; height:30px; background-color:#99FF66" onChange="show_p()" value="<?php echo $_REQUEST['td']; ?>"> 
</form>


<script>
function show_p() {
 var v=document.getElementById("cat1").value;
 var vv=document.getElementById("cat2").value;
 window.location.href="?fd="+v+"&td="+vv;
}
</script>	
<hr>
<?php 
	 $from_date=$_REQUEST["fd"];
	 $to_date=$_REQUEST["td"];
  $b=0; $s=0; $zz=0;
$cx=mysqli_query($con,"select * from onshop where `product_type`!='Food' and `product_type`!='OTHERS' and `bill_status`='complete' and `bill_date` BETWEEN '".$from_date."' AND '".$to_date."' GROUP BY `bill_no`  "); 
 while($cprx=mysqli_fetch_array($cx,MYSQLI_ASSOC)) {
     $b=$b+$cprx['payable'];
	
	 
 }
 $bb=0; 
$cx=mysqli_query($con,"select payable,qnty from onshop where `shop_type`='offshop' and `product_type`!='Food' and `product_type`!='OTHERS' and `bill_status`='complete' and `bill_date` BETWEEN '".$from_date."' AND '".$to_date."' GROUP BY `bill_no`  "); 
 while($cprx=mysqli_fetch_array($cx,MYSQLI_ASSOC)) {
     $bb=$bb+$cprx['payable'];
	
	 
 }
 
 if($to_date !="") {
?>

 <form method="post">
<table width="100%" border="1">
<tr align="center">
<td colspan="3" width="48%" height="35"><b>All Product Purchase Calculation</b></td>
<td width="4%" rowspan="8"></td>
<td colspan="3" width="48%"><b>Product Selling Calculation</b></td>
</tr>
<?php  $opening=$llr["closing_balance"];?>
<tr>
<td width="30%" height="30"><font color="#0000FF"><b>Opening Balance Rs.</b></font></td><td width="10%" align="right"><font color="#0000FF"><b><?php echo $opening; ?>&nbsp;</b></font></td><td width="8%"><input type="hidden" value="<?php echo $llr["closing_balance"];	?>" style="width:50px;" name="opening" ></td><td width="4%" colspan="3">&nbsp;</td>

</tr> <?php 
$cx=mysqli_query($con,"select * from purchase where  `doe` BETWEEN '".$from_date."' AND '".$to_date."'  "); 
 while($cprx=mysqli_fetch_array($cx,MYSQLI_ASSOC)) {
     $q=$cprx["g_quantity"];
	 $r= $cprx['mrp'];
	 $s=$s+$q*$r; // All Product Purchase From Market
	
 }
   ?>
  
<tr>
<td width="30%" height="30">All Product Purchase From Market </td>
<td width="8%" align="right"><?php echo $s; ?>&nbsp;</td>
<td width="10%">&nbsp;</td>
<td width="30%" colspan="2" style="background-color:#FFFFCC">&nbsp;
<b>Total Selling Price.</b>
<?php $ss=0; $cx=mysqli_query($con,"select bill_no, payable  from onshop where `bill_status`='complete' and `bill_date` BETWEEN '".$from_date."' AND '".$to_date."' GROUP BY `bill_no`  "); 

while( $cprx=mysqli_fetch_array($cx,MYSQLI_ASSOC)) {
    $sprice=$sprice+$cprx["payable"];
   //echo "bill - ".$cprx["bill_no"]."-". $cprx["payable"]."<br>";
}
 ?>
</td>
<td align="right" style="background-color:#FFFFCC"><b><?php  echo $sprice; ?>&nbsp;</b> <input type="hidden" value="<?php echo $sprice; ?>" style="width:50px;" name="selling_price"></td>

</tr>
<tr>
<td width="30%" height="30">Total Purchase + Opening Balance Rs.</td><td width="8%" align="right"><?php echo $x=$s+$opening; ?>&nbsp;</td>
<td width="10%">&nbsp;</td>
<td  colspan="2" >&nbsp;</td><td align="right"></td>

</tr>
<?php 
$godown_s=0; $counter_s=0; $godown_amount=0; $c_amount=0; $total_g_amount=0; $total_c_amount=0; $total_c_stock=0; $total_g_stock=0;
 $c=mysqli_query($con,"select * from product where `category`!='Food' and `category`!='Kitchen' and `category`!='Others' and `doe` BETWEEN '".$from_date."' AND '".$to_date."'"); while($cpr=mysqli_fetch_array($c,MYSQLI_ASSOC)) {
  $g_amount=$cpr["mrp"]*$cpr["g_quantity"]; $godown_amount=$godown_amount+$g_amount;  
  $total_g_amount=$total_g_amount+$g_amount;
   
	$s_amount=$cpr["mrp"]*$cpr["quantity"]; $c_amount=$c_amount+$s_amount; 
     $total_c_amount=$total_c_amount+$s_amount;
   /* $godown_s=$godown_s + $cpr["g_quantity"]; 
    $counter_s=$counter_s + $cpr["quantity"];
  
    $total_g_stock=$total_g_stock+ $cpr["g_quantity"];
    $total_c_stock=$total_c_stock+ $cpr["quantity"]; */
	$all_stock_amount=$total_g_amount+$total_c_amount;
 }?>
<tr>
<td width="30%" height="30">Stock Remain in Counter </td>
<?php  $r=mysqli_query($con,"select * from product "); while($cpr=mysqli_fetch_array($r,MYSQLI_ASSOC)) {
  $counter_amount=$cpr["mrp"]*$cpr["quantity"]; 
  $counter_amount2=$counter_amount2+$counter_amount;  //Stock Remain in Counter
  
 }  ?>
<td width="10%" align="right"><?php echo  $counter_amount2; ?>&nbsp;</td>
<td width="8%">&nbsp;</td>
<td colspan="2">&nbsp;</td>

<td align="right">&nbsp;</td>
</tr>
<?php   $total_c_amount=$total_c_amount+($total_c_amount*1/100); //Current Counter Stock Rs. ?>
<?php  $counter_amount2; //Current Counter Stock Rs. ?>
<?php   $ts=$total_g_amount+$total_c_amount; // Total Godown + Counter Stock Rs. ?>
<?php  $total_k_stock=$godown_amount2+$counter_amount2; //Total Godown + Counter Stock Rs ?>
<?php $sell_from_stock= $x-$all_stock_amount; //wine Sell from Godown & Counter Stock Rs. (imp) ?>
<?php  $kit_invest=$t_k_s-$total_k_stock; //Sell  Expense from Stock ?>
<!--<tr>
<td width="30%" height="30">Current Counter Stock Rs.</td><td width="10%" align="right"><?php   $total_c_amount=$total_c_amount+($total_c_amount*1/100); //Current Counter Stock Rs. ?>&nbsp;</td><td width="8%"></td><td width="4%">&nbsp;</td><td width="30%">Current Counter Stock Rs.</td><td width="10%" align="right"><?php $counter_amount2; //Current Counter Stock Rs. ?>&nbsp;</td><td width="8%"></td>
</tr>
<tr>
<td width="30%" height="30">Total Godown + Counter Stock Rs.</td><td width="8%" align="right"><?php   $ts=$total_g_amount+$total_c_amount; // Total Godown + Counter Stock Rs. ?>&nbsp;</td><td width="10%"></td><td width="4%">&nbsp;</td><td>Total Godown + Counter Stock Rs</td><td align="right"><?php $total_k_stock=$godown_amount2+$counter_amount2; //Total Godown + Counter Stock Rs ?>&nbsp;</td><td></td>
</tr> -->
<?php  $kit_invest=$t_k_s-$total_k_stock; //Sell  Expense from Stock ?>
<?php  $bb=0;
$cx=mysqli_query($con,"select payable from onshop where `product_type`='Food' or `product_type`='Others'  and `bill_status`='complete' and `bill_date` BETWEEN '".$from_date."' AND '".$to_date."' GROUP BY `bill_no`  "); 
 while($cprx=mysqli_fetch_array($cx,MYSQLI_ASSOC)) {
     $bb=$bb+$cprx['payable'];
	// $zz=$zz+($cprx['qnty']*$cprx['mrp']);
	 
 }
			
?>
<tr>
<td width="30%" height="30" style="background-color:#FFFFCC"> <b>Purchase Amount on Selling Product</b> </td>
<td width="8%" align="right" style="background-color:#FFFFCC">&nbsp; <b><?php echo $x-$counter_amount2 ?></b></td>
<td width="10%">&nbsp;<input type="hidden" value="<?php echo $x-$counter_amount2 ?>" style="width:50px;" name="purchase_selling"></td> 
<td colspan="2">&nbsp;</td><td>&nbsp;</td>
</tr>


<tr>
<td width="30%" height="30">&nbsp;  </td>

<td width="8%" align="right"><font color="#9900CC"><b>&nbsp;<?php //echo $x-$counter_amount2; Used counter ?></b></font></td>
<td width="10%">&nbsp;</td>
<td colspan="2">&nbsp;</td>
<td></td>
</tr>
<!--
<tr>
<td width="30%" height="30"><font color="#9900CC"><b>Profit % </b></font></td>
<td width="8%" align="right"><font color="#9900CC"><b><?php echo ($profit_from_wine/$b)*100; ?></b></font></td>
<td width="10%"></td>
<td width="4%">&nbsp;</td><td>Profit % </td>
<td><?php echo ($kitchen_profit/$kit_invest)*100; ?></td><td></td>
</tr>
-->
<tr>
<td width="30%" height="30"><font color="#FF0000"><b>Closing Balance</b></font></td><td width="8%" align="right"><font color="#FF0000"><b><?php echo $counter_amount2;?>&nbsp;</b></font></td><td width="10%" align="right"><input type="hidden" value="<?php echo $counter_amount2; ?>" style="width:50px;" name="closing"></td><td colspan="2">&nbsp;</td>

<td></td>
</tr>
</table>
<?php $cp=mysqli_query($con,"select SUM(wallet) as t_exp from user where `wallet`<0  ");
 $cpr=mysqli_fetch_array($cp,MYSQLI_ASSOC);
     ?>
<p>&nbsp;</p>
<b>Expense History : </b><br>
<table width="100%" border="1">
<?php 
$z3=0; $cp=mysqli_query($con,"select sum(amount) as t_exp from expense where `type`='others' and `date` BETWEEN '".$from_date."' AND '".$to_date."'  "); 
 while($cpr=mysqli_fetch_array($cp,MYSQLI_ASSOC)) {
     $z3=$z3+$cpr['t_exp'];
 } ?>
<tr height="35">
<td width="30%">Others Expense</td><td width="10%" align="right"><?php echo $z3; ?>&nbsp;</td><td width="10%"><input type="hidden" value="<?php echo $z3; ?>" style="width:50px;" name="others_expense"></td><td width="4%">&nbsp;</td>
<td width="30%"></td>
<td width="10%" align="right"></td><td width="30%"></td>
</tr>
<?php  $z4=0;
$cp=mysqli_query($con,"select SUM(wallet) as t_exp from user where `wallet`>0  ");
 $cpr=mysqli_fetch_array($cp,MYSQLI_ASSOC);
     $z4=$z4+$cpr['t_exp']; ?>
<tr>
<td width="30%" height="30">Employee Wallet</td>
<td width="8%" align="right"><?php echo $z4; ?>&nbsp;</td><td width="10%"></td><td width="4%">&nbsp;</td>
<td>&nbsp;</td>
<td align="right">&nbsp;</td><td></td>
</tr>

<tr>
<td width="30%" height="30" style="background-color:#FFFFCC"><b>Total Expense </b></td><td width="8%" align="right" style="background-color:#FFFFCC"><?php echo $z3+$z4; ?>&nbsp;</td><td width="10%"></td><td width="4%">&nbsp;</td><td style="background-color:#66FFFF"><b>Ovearall Profit : </b></td><td align="right" style="background-color:#66FFFF"><b><?php echo $sprice - ($x-$counter_amount2)-($z3+$z4); ?></b>&nbsp;</td><td style="background-color:#66FFFF">&nbsp;</td><td width="10%"><input type="hidden" value="<?php echo $sprice - ($x-$counter_amount2)-($z3+$z4); ?>" style="width:50px;" name="profit"></td>
</tr>

</table>

<!--

Wine Godown virtual stock (With 1% tax) :<?php echo  $total_g_amount=$total_g_amount+($total_g_amount*1/100); ?> /-<br>
Wine counter virtual stock (With 1% tax) :<?php echo  $total_c_amount=$total_c_amount+($total_c_amount*1/100); ?> /-<br>
Total counter plus godown virtual Stock : <?php  echo $ts=$total_g_amount+$total_c_amount;?><br>
Total opening and counter plus godown virtual Stock : <?php  echo $ts=$total_g_amount+$total_c_amount+0;?><br>
<br><br>


Wine purchase actual stock (with 1% tax) : <?php echo $s; ?> <br>
Total actual Stock (opening+purchase) : <?php  $x=0+$s; ?><br><br><br>

Total selling (purchase value) : <?php $x-$ts; ?><br><br><br>
Total onshop Wine Sale : <?php echo $b; ?><br>
Total off shop Wine Sale : <?php echo $bb; ?><br>
Total onshop and offshop sale : <?php echo $b+$bb; ?><br><br><br>

Closing balance : <?php echo $ts; ?><br>
----------------------------------------------------------------<br><br>
Opening Balance : 0<br><br>

Kitchen Actual Purchase amount :<?php echo $s; ?><br>
Kitchen Actual Stock amount(opening + purchase) :<?php echo $s+0; ?><br>

Kitchen Current virtual Godown Stock : <?php echo $godown_amount; ?><br>
Kitchen Godown Stock expense : <?php echo $s+0-$godown_amount; ?><br>
Closing Sock : <?php echo $godown_amount; ?><br>
<br><br>


Total Food and Others sell : <?php echo $bb; ?>
-->
<p>&nbsp;</p><center>

<input type="submit" name="save" value="Generate Demand" style="width:30%; height:30px; background-color:#FFFF33">
</center></form>
<?php } else {} ?>
<p>&nbsp;</p>	<?php 				 
	if(isset($_POST["save"]))
        {			
	 echo $from_date=$_REQUEST["fd"];
	 echo $to_date=$_REQUEST["td"];
	 echo $opening_balance = $_POST["opening"];
	 echo $closing_balance = $_POST["closing"];
	 echo $purchase_selling = $_POST["purchase_selling"];
	 	 echo $selling_price = $_POST["selling_price"];
	 echo $others_expense = $_POST["others_expense"];
	 echo $profit = $_POST["profit"];
	 $c=mysqli_query($con,"select * from demand_gen where `date_from`='".$from_date."' and `date_to`='".$to_date."' ");
	 $cn=mysqli_num_rows($c);
	 if($cn>0) {
	 ?><script>alert("Demand already generated before");
window.location.href="demand.php";
</script><?php 	 
	 } else {
	 mysqli_query($con,"insert into demand_gen(`date_from`,`date_to`,`opening_balance`,`closing_balance`,`purchase_selling`,`selling_price`,`others_expense`,`profit`) values('".$from_date."','".$to_date."','".$opening_balance."','".$closing_balance."','".$purchase_selling."','".$selling_price."','".$others_expense."','".$profit."')");
?><script>alert("Demand generated successfully");
window.location.href="index.php";
</script><?php 	 
}
	 			 
} ?>					 
	<b><font color="#FF0000">Last demand generated date : </font><font color="#0000FF"><?php echo $llr["date_from"]; ?> To <?php echo $llr["date_to"]; ?></font><br><br>
	Be attention : Please Pay salary to all staff and then generate Demand;<br>
	Do not generate multiple demand.</b>				 
	<!--				 					
											 <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;">
                                <?php include("include/right.php"); ?>
                            </div>                     
                        </div>

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


       <?php include("include/footer.php"); ?>

                       

		
		
		</body>



</html>