<!--Notice: (c)2013 This page is part of the management program for Tlhomeso Timbers, Gaborone, 
and developed by Customized Software (Pty) Ltd, Gaborone, Botswana. 
Customized Software holds the copyright on the source code on this and all other pages in the 
management program. For more info contact Customized Software on email: info@bwcustomized.com-->

<?php 
$page_name = "HR-issue";
include ("../navigation/access.php");


if ($permission_num==1) {
	 
	?>

<link rel="stylesheet" type="text/css" href="../css/jquery.autocomplete.css" />
<script type="text/javascript" src="../css/jquery.1.4.2.js"></script>
<script type="text/javascript" src="../css/jquery.autocomplete.js"></script>
<link rel="stylesheet" type="text/css" href="../css/wizard.css" />

<script language="javascript" type="text/javascript" >
function confirmRefresh() {
var okToRefresh = confirm("Do you really want to cancel this entry?");
var url='hr_main.php?date='
if (okToRefresh)
	{
			window.location=url;
	}
}
</script>
<script language="JavaScript">
  var needToConfirm = true;
  window.onbeforeunload = confirmExit;
  function confirmExit()
  {
    if (needToConfirm)
      return "You did not finish the wizard./nIf you leave now your data will not be saved.";
  }
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
</script>
<body>
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<form id="form1" name="form1" method="get" action="issueWizbase.php">
  <table width=595 border="0" align="center" cellpadding="10" cellspacing="0" bordercolor="#0066FF" border-collapse="collapse">
    <tr>
      <td width="525" >
        
     
        <p class="wizard">
          <label class="label_std">Select what to record:</label><label class="star"> *</label>&nbsp;&nbsp;&nbsp;<br>
        
          <label class="label_std">
            <input type="radio" name="first_choice" value="issue" id="first_choice_0" <?php if ($_SESSION['first_choice'] == "clock_in") { ?> <?php } ?> >
            issue item</label><br>
          <label class="label_std">
<input type="radio" name="first_choice" value="return" id="first_choice_1" <?php if ($_SESSION['first_choice'] == "clock_out") { ?> <?php } ?>  > 
return item
</label>
          <br>
          <label class="label_std">
            <input type="radio" name="first_choice" value="new" id="first_choice_2"  >
            new item</label>
          <br><br>

          <label class="label_std">
<input type="radio" name="first_choice" value="petty_cash" id="first_choice_3"  >
issue petty cash</label><br>

          <label class="label_std">
<input type="radio" name="first_choice" value="return_petty_cash" id="first_choice_3"  >
return petty cash</label>
        </p>
      <p class="wizard">          &nbsp;&nbsp;</p></td>
    </tr>
    <tr>
      <td><table width="675" height="50" align="center" id="table_button_bar">
          <tr>
            <td width="117">&nbsp;</td>
            <td width="115">&nbsp;</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"><input name="cancelbutton" type="button" class="imagebutton" id="cancelbutton" onClick="needToConfirm = false; confirmRefresh();" value="Cancel" /></td>
            <td width="110" align="right"><input type="submit" name="next_button" class="imagebutton" value="Next" onClick="needToConfirm = false; " /></td>
          </tr>
        </table></td>
    </tr>
  </table>
 </form>
<!--form validation-->
<script language="JavaScript" type="text/javascript" xml:space="preserve">
  var frmvalidator  = new Validator("form1");
  frmvalidator.EnableMsgsTogether();
  frmvalidator.addValidation("comp_name_text","req","Please enter the name of the company.");
  
  </script>
<?php } else { 
    $_SESSION['denied_return'] = "hr_module/hr_main.php?date=";	?>
	<body onLoad="accessdenied(); return false">
</body>
<?php }
?>