<?php
/* Smarty version 3.1.30, created on 2023-05-12 16:55:51
  from "/home/hgsonsc1/raajaram.co.in/templates/vsummary.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_645e223f16a5b6_37480050',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '8c1e157cb1539d93d21d51fa069dfc06a555d78c' => 
    array (
      0 => '/home/hgsonsc1/raajaram.co.in/templates/vsummary.tpl',
      1 => 1629367294,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:./main.tpl' => 1,
  ),
),false)) {
function content_645e223f16a5b6_37480050 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_735069490645e223f1398b0_33249736', 'head');
?>

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_49908818645e223f168281_44859610', 'body');
$_smarty_tpl->inheritance->endChild();
$_smarty_tpl->_subTemplateRender("file:./main.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 2, false);
}
/* {block 'head'} */
class Block_735069490645e223f1398b0_33249736 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

<?php
}
}
/* {/block 'head'} */
/* {block 'body'} */
class Block_49908818645e223f168281_44859610 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

<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>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['pendingArray']->value, 'onerow');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['onerow']->value) {
?>
  <tr>
	<input type="hidden" name="partyId" value="<?php echo $_smarty_tpl->tpl_vars['onerow']->value['partyId'];?>
">
  	<td class="table1" align="center"><?php echo $_smarty_tpl->tpl_vars['onerow']->value['partyName'];?>
</td>
    <td class="table1" align="center"><?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['onerow']->value['kg']);?>
</td>
	<td class="table1" align="center"> <?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['onerow']->value['totalAmt']);?>
</td>
  </tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

</tbody>
</table>
<br><br><br>
<table align="center" border="1"  width="30%">
  <tr>
    <td>Final Weight :- <?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['kg']->value);?>
</td>
  </tr>
  <tr>
     <td>Total Amount :- <?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['totalAmt']->value);?>
</td>
  </tr>
  
</table>
</form>
<?php
}
}
/* {/block 'body'} */
}
