{extends file="./main.tpl"}
{block name=head}
{/block}
{block name=body}
<table align="center" width="50%" border="1">
<tr> 
  <td class="table1" align="left">Party Name</td>
  <td class="table1" align="left">Fine</td>
  <td class="table1" align="left">Amount</td>
</tr>
{foreach from=$pendingArray item=onerow}
<tr> 
  <td class="table1" align="left"> {$onerow.partyName}</td>
  <td class="table1" align="left"> {$onerow.kg|string_format:"%.3f"}</td>
  <td class="table1" align="left"> {$onerow.totalAmt|string_format:"%.0f"}</td>
</tr>
{/foreach}
<tr>
<td>Mcx</td>
<td>{$finalKg}</td>
<td>{$finalAmt}</td>
</tr>
</table>
<br><br><br>
<table align="center" border="">
<tr>
  <td>Total Fine : {$finalGrosskg|string_format:"%.3f"}</td>
  <td>Total AMount : {$finalgrossAmt|string_format:"%.3f"}</td>
</tr>
</table>
{/block}