
<!--jscript-->
<script language="JavaScript" src="../jscript/gen_validatorv4.js"  type="text/javascript" xml:space="preserve"></script>
<script language="JavaScript" src="../jscript/go_to_url.js"  type="text/javascript"></script> 
<script language="JavaScript" src="../jscript/alert_message.js"  type="text/javascript"></script>
</head>
<?php 
$page_name = "Stores-stock take";
include ("../navigation/access.php");
if ($permission_num==1) {
	
	

$table_name = $_SESSION['db_prefix']."_permissions";
$permission_query = "SELECT access_id  FROM  $table_name  WHERE access_id ='". $_SESSION['access_id']."' AND page_name = 'Stores-stock adjust' ";
$permission_result = mySQL_query($permission_query);
$permission_num = mysql_num_rows($permission_result);
if ($permission_num>0) {
	 $adjust='yes';
}
else {
	$adjust='no';
}
	
?>
<?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');">
<form id="form1" name="form1" method="get" action="stockCountWizbase.php">
<div class="wizard_page_middle_frame">
<link rel="stylesheet" type="text/css" href="../css/tabs.css" />

<ul class="tabs">
    <li>
      <input type="radio" checked name="tabs" id="tab1">
      <label for="tab1">Full count</label>
      <div id="tab-content1" class="tab-content animated fadeIn" style="height:120px;">
      <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=Electric fencing&stock_select=full');return document.MM_returnValue" value="Electric fencing" />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <input name="cash_button" type="button" class="imagebutton" value="Fencing" onClick="needToConfirm = false; MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&sub_cat_group=Fencing&stock_select=full');return document.MM_returnValue"/>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <input name="cash_button2" type="button" class="imagebutton" value="Palisade" onClick="needToConfirm = false; MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&sub_cat_group=Palisade&stock_select=full');return document.MM_returnValue"/>
            &nbsp;&nbsp;
            <input name="cash_button4" type="button" class="imagebutton" value="M-works" onClick="needToConfirm = false;MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&sub_cat_group=M-works&stock_select=full');return document.MM_returnValue"/>
<br>
              <br>
Select other store lists here:
  &nbsp;&nbsp;
  <select name="store_list_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=Branding items">Branding items</option>
    <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=EF-spares">EF-spares</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=Promotional items">Promotional items</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=full&cat_group=Stores&sub_cat_group=Signage">Signage</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>
    </li>
   
    <li>
      <input type="radio" name="tabs" id="tab2"  >
      <label for="tab2" <?php if ($adjust=='no') { ?> style="display:none"  <?php } ?> >Single count</label>
       
      <div id="tab-content2" class="tab-content animated fadeIn" style="height:120px; "  ><br>
      
     <input name="job_button2" type="button" class="imagebutton" id="job_button2" onClick="needToConfirm = false;MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&amp;sub_cat_group=Electric fencing&stock_select=single');return document.MM_returnValue" value="Electric fencing" />
  &nbsp;&nbsp;&nbsp;&nbsp;
  <input name="cash_button3" type="button" class="imagebutton" value="Fencing" onClick="needToConfirm = false;MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&sub_cat_group=Fencing&stock_select=single');return document.MM_returnValue"/>
  &nbsp;&nbsp;&nbsp;
  <input name="cash_button3" type="button" class="imagebutton" value="Palisade" onClick="needToConfirm = false;MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&amp;sub_cat_group=Palisade&stock_select=single');return document.MM_returnValue"/>
&nbsp;  &nbsp; 
   <input name="cash_button5" type="button" class="imagebutton" value="M-works" onClick="needToConfirm = false;MM_goToURL('parent','stockCountWizbase.php?p=2&s=1&cat_group=Direct materals&sub_cat_group=M-works&stock_select=single');return document.MM_returnValue"/>
   &nbsp;&nbsp; <br>
  <br>
  Select other store lists here:
  &nbsp;&nbsp;
  <select name="store_list_select2" class="select200" id="store_list_select2" onChange="needToConfirm = false; window.location.href= this.form.store_list_select2.options[this.form.store_list_select2.selectedIndex].value">
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=single&cat_group=Stores&sub_cat_group=Branding items">Branding items</option>
    <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=EF-spares">EF-spares</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=Promotional items">Promotional items</option>
    <option value="stockCountWizbase.php?p=2&s=1&stock_select=single&cat_group=Stores&sub_cat_group=Signage">Signage</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>
    </li>
   
  </ul>

</div>

 
</form>
</div>
<!--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="needToConfirm = false; accessdenied(); return false">
</body>
<?php }
?>