<!--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-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 

<?php
include ("../navigation/header.php");
include ("../navigation/hr_sidebar.php");
?>

<link href="../css/main.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="../jscript/gen_validatorv4.js"  type="text/javascript" xml:space="preserve"></script>


<?php 
	
	$s = $_GET['s'];
	$p = $_GET['p'];
	$error = $_SESSION['error'];
	$_SESSION['p']=$p;
	$_SESSION['s']=$s;
	
	
	if (isset($_GET['prev_button']) )
	   {
		 $_SESSION['p']= $_SESSION['p']-1;
	   }
		 
	if (isset($_GET['next_button']) )
	  {
		$_SESSION['p']=$_SESSION['p']+1;
	  }
	
		
	
	if ($s==1) {
		 $_SESSION['first_choice'] = $_GET['first_choice'];
		 if ($_SESSION['first_choice'] == 'issued') { ?> <script language="javascript" type="text/javascript">window.location="issued_list.php?date=0"; </script> <?php }
		 if ($_SESSION['first_choice'] == 'pettycash') { ?> <script language="javascript" type="text/javascript">window.location="pettycash_list.php?date=0"; </script> <?php } 
		
	}
		
	if($s==2) {
	  
     
	 
	};
	
	if($s==3) {
	 
	 
	};
	
	if($s==4) {
	 $_SESSION['notes'] = $_GET['notes_text'];
	}
	
	?>
<script language="JavaScript" src="gen_validatorv4.js"  type="text/javascript" xml:space="preserve"></script>
<!--form validation-->
<script type="text/javascript" src="../css/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="../css/wizard.css" />
<link rel="stylesheet" type="text/css" href="../css/main.css" />
<script language="javascript" type="text/javascript" >
<!--
function confirmRefresh() {
var okToRefresh = confirm("Do you really want to cancel this entry?");
var url='main.php'
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>
</head>

<body>
<div class="main_frame">
<table  id="table_main">
  <!--begin of tableMain-->
  <tr>
    <td height="68"  align="center" valign="top"> 
<div class="page_head_frame">
  <label class="label_page_head">View Issues</label></div>
      
</td> <!--center of tableMain-->
</tr>
<tr>
<td> <!--center of tableMain-->

      <div class="wizard_main_frame">
      <table >
      <tr>
      <td >
        <p class="stepbar">
        <?php if ($_SESSION['p']==1) { echo "<label class=step>"; }  else { echo"<label class=stepd>"; } ?>
        Step 1<br />
        <font size="1">Select list</font>
        </label>
        
        
        
      </p>
      
      </td>
      </tr>
      <tr>
      <td><?php 
	if ($_SESSION['p']==1) { include("viewIssueWiz1.php"); }
	
	
    ?></td>
    </tr>
    </table>
    </div>
    </td>
  </tr>
</table>

</td>
</tr>
</table>  <!--end of tableMain-->
</div>
</body>
<?php include ('../navigation/side_bar.php'); ?>
