{extends file="./main.tpl"}
{block name=head}
<script type="text/javascript">
function myFunction()
{
	if(confirm("Are You Sure To Delete")== true)
	{
		return true;
	}
	else
	{
		return false;
	}
}												
</script>
<style>
td{
  border: none;
}
</style>
{/block}
{block name=body}
<form name="partyForm"action="{$smarty.server.PHP_SELF}" method="POST">
<input type="hidden" name="rojmelId" value="{$rojmelId}">
<h1 align="center"><font size="5px">Rojmel Entry</font></h1>
<table cellpadding="3" cellspacing="0" border="" align="center" width=60%>
   <tr>
    <td align="left">Client Name
	  <select name="partyId" required>
	     <option value="0">Select Party</option>
	    {html_options values=$clientArray.partyId output=$clientArray.partyName selected=$partyId}
	  </select>
	</td>
	<td align="right">Date
	   {html_select_date prefix="rdt" start_year="-1" end_year="+0"  day_value_format="%02d" field_order="DMY" time=$rojmelDate}
	</td>
  </tr>
  </table>
  <br>
  <table cellpadding="3" cellspacing="0" border="" align="center" width=30%>
   <tr>
    <td>Type</td>
    <td>
	  <select name="rojTransType">
	    {html_options values=$typeArrayValue output=$typeArrayOutput selected=$rojTransType}
	  </select>
	</td>
  </tr>
  
   <tr>
    <td>Branch</td>
    <td>
	  <select name="branch">
		<option value="0">Select Branch</option>
	    {html_options values=$branchInput output=$branchOutput selected=$branch}
	  </select>
	</td>
  </tr>
   <tr>
    <td>Direct / Khata</td>
    <td>
	  <select name="acc_type">
	    {html_options values=$sellTypeValue output=$sellTypOutput selected=$acc_type}
	  </select>
	</td>
  </tr>
  
  <tr>
    <td>Particular</td>
	<td><input type="text" name="particular" value="{$particular}"></td>
  </tr>
  <tr>
    <td>Fine</td>
	<td><input type="text" name="fine" value="{$fine}"></td>
  </tr>
  <tr>
    <td>Amount</td>
		<td><input type="text" name="amount" value="{$amount}"></td>
  </tr>
  <tr>
  	<td colspan="3" align="center"><input type="submit" value="Submit" name="submit" class="btn"></td>
  </tr>
</table>
</form>
{/block}