{extends file="./main.tpl"}
{block name=head}
{/block}
{block name=body}
<form action="vsummary.php" method="POST">
<table align="center" border="2" width="50%"> 
	<h2 align="center">Vepari Summary</h2>
<thead>
	<tr>
		<th class="table1">Party Name</th>
		<th class="table1">Fine</th>
		<th class="table1">Amount</th>
    </tr>
</thead>
</tbody>
{foreach from=$pendingArray item=onerow}
  <tr>
	<input type="hidden" name="partyId" value="{$onerow.partyId}">
  	<td class="table1" align="center">{$onerow.partyName}</td>
    <td class="table1" align="center">{$onerow.kg|string_format:"%.3f"}</td>
	<td class="table1" align="center"> {$onerow.totalAmt|string_format:"%.0f"}</td>
  </tr>
{/foreach}
</tbody>
</table>
<br><br><br>
<table align="center" border="1"  width="30%">
  <tr>
    <td>Final Weight :- {$kg|string_format:"%.3f"}</td>
  </tr>
  <tr>
     <td>Total Amount :- {$totalAmt|string_format:"%.0f"}</td>
  </tr>
  
</table>
</form>
{/block}