
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <title>Maksoft-POS Inventory</title>
  <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <link rel="stylesheet" href="css/bootstrap.min.css">
   <link rel="stylesheet" href="css/datepicker.css">
   <link rel="stylesheet"href="xcss/custom.css">
   <link rel="stylesheet" href="css/footerstyle.css">
    <link rel="stylesheet"href="css/autocomp.css">
    <link rel="stylesheet"href="css/font-awesome.min.css">
  <script src="js/jquery.min.js"></script>
  <script src="js/bootstrap.min.js"></script>
   <script src="js/bootstrap-datepicker.js"></script>
    <script  src="js/jquery.printElement.js"></script>

    <script  src="js/myfucntions.js"></script>
    <script>
    //alert("Users");
    </script>
    <style>
    .container-fluid {
        background-image: url("img/bg.jpg") !important;
        background-color: #cccccc !important;
    }

    #suggesstion-boxx ul {
        background: #444;
        background: linear-gradient(#444, #111);
        box-shadow: 0 -1px 0 rgba(255,255,255,.3);
        transition: all .2s ease-in-out;
    }

    #suggesstion-boxx li:hover {
        opacity: 1;
        visibility: visible;
        margin: 0;
    }
    #suggesstion-boxx li{
      color: white;
    }
    #suggesstion-boxx ul ul {
        top: 0;
        _margin: 0; /*IE6 only*/
        box-shadow: -1px 0 0 rgba(255,255,255,.3);
    }

    #suggesstion-boxx ul li {
        float: none;
        display: block;
        box-shadow: 0 1px 0 #111, 0 2px 0 #666;
    }

    #suggesstion-boxx ul li:last-child {
        box-shadow: none;
    }

    #suggesstion-boxx ul a {
        display: block;
        white-space: nowrap;
        float: none;
        text-transform: none;
    }

    #suggesstion-boxx ul a:hover {
        background-color: #0186ba;
        background-image: linear-gradient(#04acec, #0186ba);
    }


    </style>
</head>
<body>
    <?php
    include 'nav.php';
    ?>
	<div class="container" id="content_zone">
	<ul class="nav nav-tabs">
  <li class="active"><a data-toggle="tab" href="#finished">Inventory-Finished Products</a></li>
  <li><a data-toggle="tab" href="#raw">Inventory-Raw Materials</a></li>
</ul>
<div class="tab-content">
  <div id="finished" class="tab-pane fade in active">
<div id='custom-toolbar'>
<div class='btn-group pull-right'>
<button type='button' id='link-items' class='btn btn-primary' data-toggle="modal" data-target="#linkitems" data-backdrop="static"> <span class="glyphicon glyphicon-plus"></span> Inventory Location Items</button>
<button type='button' id='addnew' class='btn btn-default' data-toggle="modal" data-target="#additem" data-backdrop="static"> <span class="glyphicon glyphicon-plus"></span> Add New Item</button>
<button type='button' id='edititem' class='btn btn-default' data-toggle="modal" data-target="#edititems" data-backdrop="static"> <span class="glyphicon glyphicon-plus"></span> Edit Item</button>


<button type='button' id='print' class='btn btn-default' onclick="window.print();"> <span class="glyphicon glyphicon-print"></span> Print</button>
</div>
</div>
	<?php
    include 'additems.php';
      include 'edititems.php';
        include 'linkitems.php';

    echo "<div id='itemstable'>";
	//$itemlist=inventory_table();
	//echo $itemlist;
        echo "</div>";
    ?>
  </div>

   <div id="raw" class="tab-pane fade in">
   <div id='custom-toolbar'>
<div class='btn-group pull-right'>
<button type='button' id='add-raw' class='btn btn-default' data-toggle="modal" data-target="#addraw" data-backdrop="static"> <span class="glyphicon glyphicon-plus"></span> Add New Raw Material</button>
<button type='button' id='add-raw' class='btn btn-default' data-toggle="modal" data-target="#editraw" data-backdrop="static"> <span class="glyphicon glyphicon-plus"></span> Edit Raw Material</button>
<button type='button' id='print-raw' class='btn btn-default'onclick="window.print();"> <span class="glyphicon glyphicon-print"></span> Print</button>
</div>
</div>
	<?php
    include 'addraw.php';
      include 'editraw.php';
	echo "<div id='rawtable'>";
	//$itemlist=inventory_table();
	//echo $itemlist;
        echo "</div>";
	//$itemlistraw=inventory_tableRaw();
	//echo $itemlistraw;
    ?>
  </div>



	</div><!-- end of New item tab content -->





	</div>

</body>

</html>
