

<h3 align="center"><strong>Form R.G23 A Part ||</strong></h3>
<h2 align="center"><strong>Entry Book Of Duty Credit</strong></h2>
<br>
<form action="" method="post">


<div align="center">
<table width="60%"  cellspacing="2" cellpadding="2" >
<tr>
<th><strong>Branch</strong></th>
<td> 
<?php 
$sql = "select loccode, locationname from locations";
$result=DB_query($sql, $db);
?>
<select name="site" id="site"  class="select_purch" >
<option value ="000">---Select Site---</option>
<?php
while($myrow=DB_fetch_array($result))
{ 
$p='';
if($myrow['loccode']==$_REQUEST['site'])
$p="selected";

?>
<option value="<?php echo $myrow['loccode']; ?>" <?php echo $p; ?>> <?php echo $myrow['locationname']; ?> </option>
<?php } ?>
</select></td>

<th>
 <strong>Bill No  </strong></th>
<td><div id="orderid"><input name="bill" type="text" value="<?php echo $_REQUEST['bill'];?>" size="15" id="bill" readonly="true"/>
</div></td>

</tr>
<tr>
<th><strong>Store </strong></th>
<td>
<?php
$sql = "select distinct StoreCode, StoreName from storetype";
$result=DB_query($sql, $db);
?>
<select name="store" id="store" class="select_purch">
<option value="000">---Select Store---</option>
<?php
while($myrow=DB_fetch_array($result))
{
$p='';
if($myrow['StoreCode']==$_REQUEST['store'])
$p="selected";
?>
<option value="<?php echo $myrow['StoreCode']; ?>" <?php echo $p; ?>><?php echo $myrow['StoreName']; ?> </option>
<?php } ?>
</select></td>

<th><strong>Date</strong></th>
<td><input type="text" name="bill_date" id="bill_date" class="datepicker" value="<?php echo $_REQUEST['bill_date']; ?>" size="15" /></td>
<!-- <input type="text" name="textfield210" />-->

</tr>


<tr>
<th><strong>Vendor Name </strong></th>
<td><?php
$sql = "select vendor_code, vendor_name from suppliers";
$result=DB_query($sql, $db);
?>
  <select name="vendor" id="vendor" onchange="showmrn(this.value)" class="select_purch">
    <option value="000">---Select Vendor---</option>
    <?php
while($myrow = DB_fetch_array($result))
{
?>
    <option value="<?php echo $myrow['vendor_code']; ?>" <?php echo($_REQUEST['vendor']==$myrow['vendor_code']?'selected':''); ?>><?php echo $myrow['vendor_name']; ?></option>
    <?php } ?>
  </select></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>



</table>
</div>
<p align="center"><input name="Search" type="submit" value="Proceed"/></p>
</form>
<div style="overflow:auto; width:800px ; height:300px"  >
<table><tr><td>
<tr><th rowspan="2">SL.No.</th><th rowspan="2">Date</th><th colspan="3">Opening Balance Of Duty In Credit</th><th colspan="4">Fresh Credit Forward (4 to 6)</th><th colspan="4">Fresh Credit Allowed (7) Amount Of Duty Credited</th><th width="20%">Total Credit Available [(3)+(7)] DEBIT (9 to 11) 8</th><th></th><th>Balance Of Credit</th><th></th></tr>

<tr><th>Basic Exice Duty and Additionl Duty of Customs Equivalent to basic Excise Duty</th><th>Other Duties (Specify) Education Cess</th><th>S & H Edu.Cess</th><th>ARI/ Invoce / Other approved Document/Bill of Entry No. & Date</th><th>EC Code of Supllier</th><th>Range/Division /Custom House From where received</th><th>Folio & Entry No. in Part |</th><th>Basic Excise Duty</th><th>Additional Duty of Customs Equivalent to Basic Excise Duty</th><th>Other Duties (Specify) Education Cess</th><th>S & H Edu. Cess</th><th>Basic Excise Duty & Additional Duty of Customs Equivalent to Basic Excise Duty</th><th></th></tr>

</table></div>