{extends file="./main.tpl"}
{block name=head}
<!-- <script>
function getAmount()
{
  var dataString = "partyId="+$('.partyId').val();
  $.ajax({
    type:"GET",
	url:"getAmount.php",
	data:dataString,
	sucess:function(html)
	{
	   $(".last").val(html);
	}
  });
}
</script> -->
{/block}
{block name=body}
<form name="partyForm" action="{$smarty.server.PHP_SELF}" method="POST" onsubmit="return confirm('DO You Want To Submit !!!!!')";>
<input type="hidden" name="partyId" value="{$partyId}">
<h1 align="center"><font size="5px">Vepari Delete Entry</font></h1>
<table cellpadding="3" cellspacing="5" border="" align="center" width=28%>
   <tr>
    <td>Vepari Name
	  <select name="partyId" class="partyId" required onchange="this.form.submit();">
	     <option value="">Select Vepari</option>
	    {html_options values=$clientArray.partyId output=$clientArray.partyName selected=$partyId}
	  </select>
	</td>
	</tr>
	<tr>
	<td>To
	  {html_select_date prefix="toDt" start_year="-1" end_year="+0"  day_value_format="%02d" field_order="DMY"}
	</td>
	</tr>
	<tr>
	<td>From
	  {html_select_date prefix="fromDt" start_year="-1" end_year="+0"  day_value_format="%02d" field_order="DMY"}
	</td>
  </tr>
  <tr>
    <td>Final Kg : {$finalKg}</td>
  </tr>
  <tr>
    <td>Final Amount : {$finalAmount}</td>
  </tr>
    <tr>
  	<td align="center"><input type="submit" value="Submit" name="btn" class="btn"></td>
  </tr>
</table>

</form>
{/block}