<?php extract($_POST);
$PageSecurity = 1;
$tabindex=0;
include('includes/DefinePaymentClass.php');
include('includes/session.inc');
$title = _('Sales Order');
include('includes/header.inc');

?>
<form action="" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
 <tr>
<td align="center" height="30" colspan="6" style="font-family:Arial, Helvetica, sans-serif; font-size:14px;"><div align="center"><strong>Sales Challan Issue</strong></div></td>
    </tr>
	<tr>
		<td>
		
		<div align="center">
			<table width="60%" border="0" cellspacing="1" cellpadding="3" align="center">
			<tr>
			<td>
			<fieldset style="border-radius:10px; background:#f5f5f5;">
				<legend><b>Voucher Info</b></legend>
				<table width="100%" border="0" cellspacing="1" cellpadding="3" align="center" bgcolor="#FFFFFF">
				  <tr>
					<th align="left"><strong>Branch</strong></th>
					<td><select name="branch" id="branch" style="width:98%">
					  <option value="000">---Select---</option>
					  <option value="">fdgsf</option>
					</select>				</td>
					<th align="left"><strong>Date</strong></th>
					<td><input type="text" name="orderDate" id="orderDate" value="" class="datepicker"/></td>
				  </tr>
				  <tr>
					<th align="left"><strong>Order No. </strong></th>
					<td><div id="orderid"><input type="text" name="" id="" value="" style="width:98%"></div></td>
					<th align="left"><strong>Order Type</strong></th>
					<td><select name="" id="" style="width:98%">
					  <option value="000">---Select---</option>
					  <option value="OPEN">OPEN</option>
					  <option value="CLOSE">CLOSE</option>
					</select></td>
				  </tr>
				  <tr>
					<th align="left"><strong>Customer Name </strong></th>
					<td><select name="client" id="client" style="width:98%">
					  <option value="000">---Select---</option>
					  <option value="">fgdf</option>
					</select></td>
					<th align="left"><strong>Transporter</strong></th>
					<td><select name="" id="" style="width:98%">
					<option value="0">---Select---</option>
					<option value=""></option>
					</select></td>
				  </tr>
				  <tr>
					<th align="left"><strong>Salesman </strong></th>
					<td><select name="" id="" style="width:98%">
						<option value="000">---Select---</option>
						<option value="">fgfg</option>
					</select></td>
					<th align="left"><strong>Credit Days </strong></th>
					<td><div id="creditId"><input type="text" name="" style="width:98%" id="" value="" /></div></td>
				  </tr>
				  <tr>
					<td align="left">&nbsp;</td>
					<td>&nbsp;</td>
					<th align="left"><strong>Expiry (in days) </strong></th>
					<td><input type="text" name="" id="" style="width:98%" value="" /></td>
				  </tr>
				  </table>
			  </fieldset>
			  </td>
			  </tr>
		  </table></div>
		  </fieldset>
		  </td>
	</tr>
	<tr>
	<td>&nbsp;</td>
	</tr>
	<tr>
	<td height="8">
	<input type="submit" name="item_popup" value="Add Items" id="item_popup"  onclick="item_window();" /></td>
    </tr>
	<tr>
			<td valign="top" bgcolor="#c6c6c6"><table width="100%" border="0" cellspacing="1" cellpadding="0">
              <tr>
                <th align="center"><strong>S.No</strong></th>
                <th align="center"><strong>Sub Group</strong></th>
				<th align="center"><strong>Item Code </strong></th>
                <th align="center"><strong>Item Name/Description </strong></th>
				 <th align="center"><strong>Billing Description </strong></th>
                <th  align="center"><strong> Quantity </strong></th>
                <th  align="center"><strong>Rate</strong></th>
                <th  align="center"><strong>Amount</strong></th>
              </tr>
					  <tr bgcolor="#FFFFFF">
					<td><strong>fdgfd</strong></td>
					<td>fgf<input type="hidden" name="" id="" value="" /></td>
					<td>dsfsdaf<input type="hidden" name="" id="" value=""/></td>
					<td>dsfsadfa<input type="hidden" name="" id="" value="" /></td>
					<td><input type="text" name="" id="" value="" tabindex=""/></td>
					<td><input type="text" name="" id="" value="" tabindex="" /></td>
					<td align="right"><input type="text" name="" id="" value=""/></td>
					<td align="right"><input type="text" name="" id="" value=""/></td>
					  </tr>
            </table></td>
    </tr>
	<tr>
	  <td>&nbsp;</td>
	</tr>
	<tr>
	  <td>&nbsp;</td>
	</tr>
	<tr>
		<td>
			<table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
			  <tr>
				<th width="11%" ><strong>Payment Terms </strong></th>
				<td width="21%"><input type="text" name="paymentTerms" id="paymentTerms" value=""  size="20"/></td>
				<th width="16%" ><strong>Total Quantity </strong></th>
				<td width="24%"><input type="text" name="totalQuantity" id="totalQuantity" value="" size="20" /></td>
				<th width="13%" ><strong>Tax Rate </strong></th>
				<td width="15%" align="right"><div id="rateId" style="margin:0px; padding:0px; border:none;"><input name="taxRate" type="text" id="taxRate" value="" size="15"/></div></td>
			  </tr>
			  <tr>
				<th ><strong>Delivery Terms </strong></th>
				<td><input type="text" name="" id="" value="" size="20" /></td>
				<th ><strong>Order Value (Basic Amount)</strong></th>
				<td><input type="text" name="basicAmount" id="basicAmount" value="" size="20"/></td>
				<th ><strong>Total Tax Amount </strong></th>
				<td align="right"><input type="text" name="totalTaxAmount" id="totalTaxAmount" value="" size="15"/></td>
			  </tr>
			  <tr>
				<th><strong>Other Term1 </strong></th>
				<td><input type="text" name="otherTerm1" id="" value=""  size="20"/></td>
				<th><strong>Excise</strong></th>
				<td><input type="text" name="" id="" value="" size="3" tabindex="7"/>
			       <input type="text" name="" id="" value="" size="15" readonly tabindex="8"/></td>
				<th ><strong>Freight</strong></th>
				<td align="right"><input type="text" name="freight" id="freight" value="" size="15" tabindex="17" /></td>
			  </tr>
			  <tr>
				<th ><strong>Other Term2 </strong></th>
				<td><input type="text" name="" id="" value=""  size="20"/></td>
				<th ><strong>C Cess</strong></th>
				<td><input type="text" name="" id="" value="" size="3" />
			    <input type="text" name="" id="" value="" size="15"/></td>
				<th ><strong>Surcharge%</strong></th>
				<td align="right"><input type="text" name="" id="" value="" size="15"/></td>
			  </tr>
			  <tr>
			    <th ><strong>Narration</strong></th>
			    <td><input type="text" name="" id="" value=""  size="20"/></td>
			    <th ><strong>H Cess </strong></th>
			    <td><input type="text" name="" id="" value="" size="3"/>
		        <input type="text" name="" id="" value="" size="15"/></td>
			    <th ><strong>Surcharge Amount </strong></th>
			    <td align="right"><input type="text" name="" id="" value="" size="15" /></td>
		      </tr>
			  <tr>
			    <th ><strong>Adv. Recieved </strong></th>
			    <td><input type="text" name="" id="" value="" size="10" />
		        Cash/Bank
		          <input type="text" name="" id="" value="" size="10" /></td>
			    <th ><strong>Taxable Amount </strong></th>
			    <td><input type="text" name="" id="" value="" size="20"/></td>
			    <th ><strong>Round Off </strong></th>
			    <td align="right"><input type="text" name="" id="" value="" size="15" /></td>
		      </tr>
			  <tr>
			    <td >&nbsp;</td>
			    <td>&nbsp;</td>
			    <th ><strong>Sales Tax </strong></th>
			    <td>
				<select name="salesTax" id="salesTax" style="width:110px">
				<option value="0">Select</option>
				<option value="">ffdg</option>
				</select></td>
			    <th ><strong>Grand Total </strong></th>
			    <td><input type="text" name="" id="" value="" size="15" tabindex="21"></td>
		      </tr>
			</table>		</td>
	</tr>
</table>
<br />
<p align="center">
<input type="submit" name="Save" value="Save" />
<input type="submit" name="Cancel" value="Cancel" />
</p>
</form>
<?php
include('includes/footer.inc');
?>