<head>

<?php 
$page_name = "Stores-stock take";
include ("../navigation/access.php");

if ($permission_num==1) {
	 
	?>
<script language="JavaScript" src="../jscript/go_to_url.js"  type="text/javascript"></script> 
</head>
<?php include('../include/wait.php') ?>


<body onLoad="MM_showHideLayers('Production','','hide','Stores','','hide','wait','','hide'); <?php if ($_SESSION['category'] == "Production") { ?> MM_showHideLayers('Production','','show'); <?php } ?> <?php if ($_SESSION['category'] == "Stores") { ?>  MM_showHideLayers('Stores','','show'); <?php } ?> <?php $_SESSION['store_item_id'] ="";  $_SESSION['store_item_name'] =""; ?> " onFocus="MM_showHideLayers('wait','','hide');"  onBlur="MM_showHideLayers('wait','','hide');">



<div class="page_middle_frame">
<form id="form1" name="form1" method="get" action="stockCountWizbase.php">

<div class="wizard_frame">
<img src="../images/info_green.png" width="16" height="16">&nbsp;&nbsp;<b><?php echo $_SESSION['branch'].' branch'?></b>
</div>
 
<div class="wizard_frame">
          <label class="label_std">Full count:</label>
          <br>
          <br>
          
            <input name="tiles_button" type="button" class="imagebutton" id="tiles_button" onClick="needToConfirm = false; MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&sub_cat_group=Tiles&stock_select=full');return document.MM_returnValue" value="Tiles" />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <input name="accessories_button" type="button" class="imagebutton" value="Accessories" onClick="needToConfirm = false; MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&sub_cat_group=Accessories&stock_select=full');return document.MM_returnValue"/>
            &nbsp;&nbsp;&nbsp;&nbsp;
            
            
              <br>
              <br>
<label class="label_std">Select other store lists here:</label>
  &nbsp;&nbsp;
  <select name="job_no_select" class="select200" id="store_list_select" onChange="needToConfirm = false; window.location.href= this.form.store_list_select.options[this.form.store_list_select.selectedIndex].value">
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=full&cat_group=Stores&sub_cat_group=Cleaning materials">Cleaning materials</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=full&cat_group=Stores&sub_cat_group=Consumables">Consumables</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=full&cat_group=Stores&sub_cat_group=Fuels">Fuel</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=full&cat_group=Stores&sub_cat_group=Lubricants">Lubricants</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=full&cat_group=Stores&sub_cat_group=Machine spares">Machine spares</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=full&cat_group=Stores&sub_cat_group=PPE">PPE</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=full&cat_group=Stores&sub_cat_group=Tools">Tools</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=full&cat_group=Stores&sub_cat_group=Welding and Engineering">Welding &amp; Engineering</option>
    <option value=" " selected="selected"> </option>
  </select>
          </div>
          <br>
<br>
<br><br>
<br>
<br>
<br>
<br>
<div class="wizard_spacer_frame" style="height:60px;"></div>

          <div class="wizard_frame">
            <label class="label_std">Stock adjustment (Single count):</label>
            <br>
            <br>
<input name="tiles_button2" type="button" class="imagebutton" id="tiles_button2" onClick="needToConfirm = false;MM_goToURL('parent','stockCountWizbase.php?p=2&amp;s=1&amp;cat_group=Direct materals&amp;sub_cat_group=Tiles&amp;stock_select=single');return document.MM_returnValue" value="Tiles" />
  &nbsp;&nbsp;&nbsp;&nbsp;
  <input name="accessories_button2" type="button" class="imagebutton" value="Accessories" onClick="needToConfirm = false;MM_goToURL('parent','stockCountWizbase.php?p=2&amp;s=1&amp;cat_group=Direct materals&amp;sub_cat_group=Accessories&amp;stock_select=single');return document.MM_returnValue"/>
  &nbsp;&nbsp;&nbsp;&nbsp;
 <br>
  <br>
  <label class="label_std">Select other store lists here:</label>
  &nbsp;&nbsp;
  <select name="job_no_select2" class="select200" id="job_no_select" onChange="needToConfirm = false; window.location.href= this.form.store_list_select.options[this.form.store_list_select.selectedIndex].value">
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=single&cat_group=Stores&sub_cat_group=Cleaning materials">Cleaning materials</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=single&cat_group=Stores&sub_cat_group=Consumables">Consumables</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=single&cat_group=Stores&sub_cat_group=Fuels">Fuel</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=single&cat_group=Stores&sub_cat_group=Lubricants">Lubricants</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=single&cat_group=Stores&sub_cat_group=Machine spares">Machine spares</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=single&cat_group=Stores&sub_cat_group=PPE">PPE</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=single&cat_group=Stores&sub_cat_group=Tools">Tools</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=single&cat_group=Stores&sub_cat_group=Welding and Engineering">Welding &amp; Engineering</option>
    <option value=" " selected="selected"> </option>
  </select>
          </div>

              <input name="p" type="hidden" id="p" value="1" />
              <input name="error" type="hidden" id="error" value="0" />
              <input name="s" type="hidden" id="s" value="1" />
            </span></td>
            <td width="125" align="left"><input name="cancelbutton" type="button" class="imagebutton" id="cancelbutton" onClick="needToConfirm = false; cancel_confirmation(1, '../store/store_main.php?date=0&branch=&subCatSelect=Tiles');" value="Cancel" tabindex="-1"/></td>
 
</form>
</div>
</div>
<!--form validation-->
<!--form validation-->
<script language="JavaScript" type="text/javascript" xml:space="preserve">
  var frmvalidator  = new Validator("form1");
  frmvalidator.EnableMsgsTogether();
  frmvalidator.addValidation("cat_group","selone","Please select a store.");
  frmvalidator.addValidation("sub_cat_group","selone","Please select a department.");
  frmvalidator.addValidation("stock_select","req","Please select single or full count.");
</script>
</body>

<?php } else { ?>
<script> needToConfirm = false; </script>
<?php
    $_SESSION['denied_return'] = "store/store_main.php?date=0&branch=&subCatSelect=Tiles";	?>
<body onLoad="accessdenied(); return false">
</body>
<?php }
?>