{extends file="./main.tpl"}
{block name=head}
{/block}
{block name=body}
<form name="partyForm"action="{$smarty.server.PHP_SELF}" method="POST">
	<table align="center" border="1" width="70%">
		 
		<tr>
			<td>Edit</td>
			<td>Delete</td>
			<td>Party Name</td>
			<td>Particular</td>
			<td>Type</td>
			<td>Date</td>
			<td>K.G.</td>
			<td>Total Amount</td>
		</tr>

	  {section name="sec1" loop=$clientDetail}
	   <tr>
		<td><a href="cliententry.php?clientId={$clientDetail[sec1].clientId}"><img src="img/edit.png"></a></td>
		<td><a href="mcxdelete.php?clientId={$clientDetail[sec1].clientId}" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
		 <td>{$clientDetail[sec1].partyName}</td>
		 {if $clientDetail[sec1].cliTransType == 'J'}
			<td>Javak</td>
		 {else}
			<td>Aavak</td>
		 {/if}
		 <td>{$clientDetail[sec1].particular}</td>
		 <td>{$clientDetail[sec1].cDate}</td>
		 <td>{$clientDetail[sec1].kg}</td>
		 <td>{$clientDetail[sec1].totalAmt}</td>
	  </tr>
	  {/section}
	</table>
</form>
{/block}