{extends file="./main.tpl"}
{block name=head}
<style>
td{
  border: none;
}
</style>
{/block}
{block name=body}
<form name="partyForm"action="{$smarty.server.PHP_SELF}" method="POST">
<input type="hidden" name="clientId" value="{$clientId}">
<h1 align="center"><font size="5px">Client Entry</font></h1>
<table cellpadding="3" cellspacing="0" border="" align="center" width=50%>
   <tr>
   <td colspan="2">Client Name
	  <select name="partyId" required autofocus>
	     <option value="">Select Party</option>
	    {html_options values=$clientArray.partyId output=$clientArray.partyName selected=$partyId}
	  </select>
	</td>
	<td align="center">Date
	   {html_select_date prefix="rdt" start_year="-1" end_year="+0"  day_value_format="%02d" field_order="DMY"}
	</td>
  </tr>
  </table>
  <br>
  <table cellpadding="3" cellspacing="0" border="" align="center" width=30%>
   <tr>
    <td>Type</td>
    <td>
	  <select name="cliTransType" autofocus>
	    {html_options values=$typeArrayValue output=$typeArrayOutput selected=$cliTransType}
	  </select>
	</td>
  </tr>
  <tr>
    <td>Kg</td>
	<td><input type="text" name="kg" class="kg" value="{$kg}"></td>
  </tr>
  <tr>
    <td>Amount</td>
	<td><input type="text" name="totalAmt" class="total" value="{$totalAmt}"></td>
  </tr>
  <tr>
  	<td colspan="3" align="center"><input type="submit" value="Submit" name="submit" class="btn"></td>
  </tr>
</table>
</form>
{/block}