<head>

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

if ($permission_num==1) {
	 
	?>

<!--jscript-->
<script language="JavaScript" src="../jscript/gen_validatorv4.js"  type="text/javascript" xml:space="preserve"></script>
<script type="text/javascript">
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
</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">






  <table width=595 border="0" align="center" cellpadding="10" cellspacing="0" bordercolor="#0066FF" border-collapse="collapse">
    <tr>
      <td width="525" valign="top" >
         <div class="page_inside_frame">
          <label class="label_std">Full count:</label>
          <br>
          <br>
          
            <input name="job_button" type="button" class="imagebutton" id="job_button" onclick="needToConfirm = false; MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&sub_cat_group=Timber&stock_select=full');return document.MM_returnValue" value="Timber" />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <input name="cash_button" type="button" class="imagebutton" value="Mitek products" onclick="needToConfirm = false; MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&sub_cat_group=Mitek&stock_select=full');return document.MM_returnValue"/>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <input name="cash_button2" type="button" class="imagebutton" value="Sundries" onclick="needToConfirm = false; MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&sub_cat_group=Sundries&stock_select=full');return document.MM_returnValue"/>
            &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="page_inside_frame">
            <label class="label_std">Single count:</label>
            <br>
            <br>
<input name="job_button2" type="button" class="imagebutton" id="job_button2" onclick="needToConfirm = false;MM_goToURL('parent','stockCountWizbase.php?p=2&amp;s=1&amp;cat_group=Direct materals&amp;sub_cat_group=Timber&amp;stock_select=single');return document.MM_returnValue" value="Timber" />
  &nbsp;&nbsp;&nbsp;&nbsp;
  <input name="cash_button3" type="button" class="imagebutton" value="Mitek products" onclick="needToConfirm = false;MM_goToURL('parent','stockCountWizbase.php?p=2&amp;s=1&amp;cat_group=Direct materals&amp;sub_cat_group=Mitek&amp;stock_select=single');return document.MM_returnValue"/>
  &nbsp;&nbsp;&nbsp;&nbsp;
  <input name="cash_button3" type="button" class="imagebutton" value="Sundries" onclick="needToConfirm = false;MM_goToURL('parent','stockCountWizbase.php?p=2&amp;s=1&amp;cat_group=Direct materals&amp;sub_cat_group=Sundries&amp;stock_select=single');return document.MM_returnValue"/>
  &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>
     
      </td>
    </tr>
    <tr>
      <td ></td>
    </tr>
    <tr>
      <td><table width="590" height="50" align="center" id="table_button_bar">
          <tr>
            <td width="117">&nbsp;</td>
            <td width="115"><input type="hidden" name="change" id="change" /></td>
            <td width="99"><span class="wizard">
              <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');" value="Cancel" tabindex="-1"/></td>
            <td width="110" align="left">&nbsp;</td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
</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 { 
    $_SESSION['denied_return'] = "store/store_main.php";	?>
<body onLoad="accessdenied(); return false">
</body>
<?php }
?>