<?php 
require("../connection.php");
include("../user.php");
$user_id=$_SESSION['user'];
$username=$_SESSION['user_name'];
$branch_id=$_SESSION['branch_id'];
$ho_access=$_SESSION['ha'];
$branch=$_SESSION['division_name'];
//$row=mysqli_query($con,"select * from log_entry order by id  DESC");		
?>
<html>
<head>
  <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php echo TITLE;?></title>
    <meta name="description" content="Ela Admin - HTML5 Admin Template">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="apple-touch-icon" href="../images/bluebase.png">
    <link rel="shortcut icon" href="../images/bluebase.png">

    <link rel="stylesheet" href="../css/normalize.min.css">
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/font-awesome.min.css">
    <link rel="stylesheet" href="../css/themify-icons.css">
    <link rel="stylesheet" href="../css/pe-icon-7-stroke.min.css">
    <link rel="stylesheet" href="../css/flag-icon.min.css">
    <link rel="stylesheet" href="../assets/css/cs-skin-elastic.css">
    <link rel="stylesheet" href="../assets/css/style.css">
    <link href="../css/chartist.min.css" rel="stylesheet">
    <link href="../css/jqvmap.min.css" rel="stylesheet">

    <link href="../css/weather-icons.css" rel="stylesheet" />
    <link href="../css/fullcalendar.min.css" rel="stylesheet" />

<script src="../js/jquery-1.12.4.min.js"></script>
<script src="../js/jquery-3.3.1.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>

    <script src="../js/popper.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
    <script src="../js/jquery.matchHeight.min.js"></script>
    <script src="../assets/js/main.js"></script>
    <script src="../js/jquery-3.3.1.min.js"></script>
   <style>
    #weatherWidget .currentDesc 
	{
        color: #ffffff!important;
    }
        .traffic-chart {
            min-height: 335px;
        }
        #flotPie1  {
            height: 150px;
        }
        #flotPie1 td {
            padding:3px;
        }
        #flotPie1 table {
            top: 20px!important;
            right: -10px!important;
        }
        .chart-container {
            display: table;
            min-width: 270px ;
            text-align: left;
            padding-top: 10px;
            padding-bottom: 10px;
        }
        #flotLine5  {
             height: 105px;
        }

        #flotBarChart {
            height: 150px;
        }
        #cellPaiChart{
            height: 160px;
        }
th{
	text-transform:uppercase;
}
td{
	text-transform:uppercase;
}
    </style>

<link rel="stylesheet" href="/asset_temp/datatable/css/jquery.dataTables.min.css">
<script src="/asset_temp/datatable/js/jquery.dataTables.min.js"></script>
<!-- button --><link rel="stylesheet" type="text/css" href="/asset_temp/button/css/buttons.css" /><!-- button -->
</head>
<body>
 <?php require('../sidemenu.php');?>
  <!-- /#left-panel -->
    <!-- Right Panel -->
    <div id="right-panel" class="right-panel">
        <!-- Header-->
        <?php require('../header.php');?>
		<div class="content">
            <!-- Animated -->
            <div class="animated fadeIn">
			<div style="background-color:white;margin-bottom:10px;">
	<strong style="color:blue"><center>BRANCH LEVEL REPORT</center></strong>
	</div>
	
	<div class="row form-group">
		<div class="col col-md-3"><label for="text-input" class=" form-control-label">Branch</label><span style="color:red;">*</span></div>
		<div class="col-12 col-md-9"><select id="branc" name="branc" placeholder="select branch" onchange="branc_level(this.value)" class="form-control select-search"autocomplete="off" required>
		<option value="" selected disabled>Select Branch</option>
		 <?php
					  $brn=mysqli_query($con,"SELECT * FROM location_master where  status='0' order by id asc");
					while($brc=mysqli_fetch_array($brn))
					{
					?>
						  <option value="<?php echo $brc['id']; ?>"><?php echo strtoupper($brc['location']); ?></option>
						  
						    <?php

					}
					
					?>
					
		</select></div>
		</div>
	
	<div id="branc_report">	
	</div>
	</div>
	</div>
	<div class="clearfix"></div>
	</div>
	</body>
	</html>
 <?php require("../mainjavascript.js");?>

