<?php

/* $Revision: 1.20 $ */

$PageSecurity = 2;

include('includes/session.inc');

$title = _('Search Outstanding Purchase Orders');

include('includes/header.inc');

?>
<fieldset class="reg_input">
			<form method="get" action="" name="BatchQty">
			<table width="100%" border="0">
			  <tr>
				<td width="22%" class="reg_item">Indent No.</td>

						<td><select name="indent_id" onchange="this.form.submit();">
				<option value="">---- Select ----</option></select></td>
			  </tr>
			</table>
			</form>
		</fieldset>
<form method="post" action="" name="IssueAcptForm" ENCTYPE="multipart/form-data" onSubmit="return chkform(this)">
	
		<fieldset class="reg_input">

		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		  <tr>
			<th class="reg_item"><div align="left">Store Code</div></th>
			<td><input type="hidden" name="store_id" id="store_id" value="1" /><input type="text" name="store_code" value=""  style="background-color:#eeeeee;" /></td>
			<th class="reg_item"><div align="left">Store Description</div></th>
			<td><div id="ind_store_desc"></div></td>
		  </tr>

		  <tr>
		    <th class="reg_item"><div align="left">Issue No.</div></th>
		    <td></td>
		    <th class="reg_item"><div align="left">Issue Date</div></th>
		    <td>&nbsp;</td>
	      </tr>
		  <tr>

		    <th class="reg_item"><div align="left">Issued By</div></th>
		    <td></td>
		    <th class="reg_item"><div align="left">Received Date</div></th>
		    <td><input name="received_date" value="" style="width:90px;" id="f-calendar-field-1" type="text" onBlur="IsValidDate(this,'dd/MM/yyyy')"  onKeyUp="setDate(this,'dd/MM/yyyy','en')"/> <a href="#" id="f-calendar-trigger-1"></a>
		      <script type="text/javascript">Calendar.setup({"ifFormat":"%d/%m/%Y","daFormat":"%Y/%m/%d","firstDay":1,"showOthers":true,"button":"f-calendar-trigger-1","inputField":"f-calendar-field-1"});</script></td>
	      </tr>
		  <tr>			
			<th class="reg_item"><div align="left">Issue Status</div></th>

			<td></td>
			<th class="reg_item"><div align="left">Raised By</div></th>
			<td><input  name="modified_by" type="text" value="admin"  size="35" readonly></td>
		  </tr>
		  <tr>
			<th class="reg_item"><div align="left">Indenting Store Code</div></th>
			<td></td>
			<th class="reg_item"><div align="left">Store Description</div></th>

			<td></td>
		  </tr>
		</table>		
		</fieldset>		
		<br />
		<fieldset>
		<table width="100%" border="0" class="reg_input">
  <tr>
    <th scope="col" class="reg_item" style="font-size:10px;">S.No.</th>

	<th scope="col" class="reg_item" style="font-size:10px;">Item Code</th>
    <th scope="col" class="reg_item" style="font-size:10px;">Item Description</th>
    <th scope="col" class="reg_item" style="font-size:10px;">Stock In Hand</th>
	<th class="reg_item" scope="col" style="font-size:10px;">Required Qty.</th>
	<th scope="col" class="reg_item" width="10%" style="font-size:10px;">Issue Qty.</th>
	<th scope="col" class="reg_item" width="10%" style="font-size:10px;">Base Unit</th>

    <th class="reg_item" scope="col" style="font-size:10px;"><input type="checkbox" name="accept_option" id="accept_option" value="1" onclick="return showAll(this.value);" /></th>       
  </tr>
  <tr  align="center"  class="wardlistrow1" >
  	<td><div align="center">1</div></td>
	<td><div id="item_code1">
	  <div align="center">
	    <input type="text" id="item_code1" name="item_code1" value="" readonly style="background-color:#eeeeee;" size="10" />
	    <input type="hidden" id="issue_item_id1" name="issue_item_id1" value="" />
	    </div>
	</div></td>
    <td><div align="center">
      <input type="text" name="item_desc1" id="item_desc_1" value="" readonly style="background-color:#eeeeee;" size="12" />
    </div></td>
    <td><div align="center">
      <input type="text" name="stock_in_hand1" id="stock_in_hand1" value="" size="15" readonly style="background-color:#eeeeee;" />
    </div></td>
	<td><div align="center">
	  <input type="text" name="required_qty1" id="required_qty1" value="" size="4" readonly style="background-color:#eeeeee;" />
	  </div></td>

	<td><div align="center">
	  <input type="text" name="issue_qty1" id="required_qty1" value="" size="4" readonly style="background-color:#eeeeee;" />
	  </div></td>
    <td><div align="center">
      <input type="text" name="required_qty1" id="base_unit1" value="" size="4" readonly style="background-color:#eeeeee;" />
    </div></td>	
    <td><div align="center">
      <input type="checkbox" size="4" name="accept_status1" id="accept_status1" value="1" />
    </div></td>
  </tr>	
</table>
</fieldset>
<input type="hidden" name="maxbrand" value="1">
<input type="hidden" name="indent_id" value="" />
<input type="hidden" name="issue_id" value="" />


	<!--	
		
		-->
		<p>		
		<table width="250" border="0">
		  <tr>
			<td align="right"><input type="submit" name="submit" value="Submit" border=0 width="99" height="24"  alt="" align="absmiddle"></td>
			<td><input type="button" onclick="window.location.href='index.php?&Application=stock'" name="cancel" value="Cancel" border=0 width="99" height="24"  alt="" align="absmiddle"></td>

			<td><a href="javascript:history.back();"></a></td>
		  </tr>
		</table>
		</p>

		
		
		</form>