<?php
/* Smarty version 3.1.30, created on 2025-11-04 18:00:34
  from "/home/hgsonsc1/raajaram.co.in/templates/rojmelList_new.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_6909f1ea059f02_92073400',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'a32e2c04ef791bf2fa2be092f64cf8297b3713be' => 
    array (
      0 => '/home/hgsonsc1/raajaram.co.in/templates/rojmelList_new.tpl',
      1 => 1762259413,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:./main.tpl' => 1,
  ),
),false)) {
function content_6909f1ea059f02_92073400 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_function_html_select_date')) require_once '/home/hgsonsc1/raajaram.co.in/include/smarty/libs/plugins/function.html_select_date.php';
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>

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

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_12381574206909f1ea050b28_89620761', '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_19912805336909f1e9d64243_12206655 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

<?php echo '<script'; ?>
 type="text/javascript">
function myFunction()
{
	if(confirm("Are You Sure To Delete")== true)
	{
		return true;
	}
	else
	{
		return false;
	}
}
<?php echo '</script'; ?>
>
<style>
td{
   font-size: 100%;
   vertical-align: text-top;
}	
a
{
  text-decoration:none;
}

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

<form name="partyForm" action="<?php echo $_SERVER['PHP_SELF'];?>
" method="POST" onsubmit="return confirm('DO You Want To Submit !!!!!')";>
<input type="hidden" name="partyId" value="<?php echo $_smarty_tpl->tpl_vars['partyId']->value;?>
">
<table cellpadding="1" cellspacing="0" border="" align="center" width="80%">
	<tr>
	<td class="main">To
	  <?php echo smarty_function_html_select_date(array('prefix'=>"toDt",'start_year'=>"-3",'end_year'=>"+0",'day_value_format'=>"%02d",'field_order'=>"DMY"),$_smarty_tpl);?>

	</td>
	<td class="main">From
	  <?php echo smarty_function_html_select_date(array('prefix'=>"fromDt",'start_year'=>"-3",'end_year'=>"+0",'day_value_format'=>"%02d",'field_order'=>"DMY"),$_smarty_tpl);?>

	</td>
	<td class="main">
	  <input type="submit" name="submit" value="Submit">
	</td>
	<td>
		<a href="rojmelprint_new.php?to=<?php echo $_smarty_tpl->tpl_vars['to']->value;?>
&from=<?php echo $_smarty_tpl->tpl_vars['from']->value;?>
"><font size="3px">Print</font></a>
	</td>
  </tr>
  </table>
<!----Rtgs : Start ---------------->
<br>
<table cellspacing="0" border="" width="80%" align="center">
  <tr>
     
	<tr><td colspan="5" align="center"><b>RTGS</b></td></tr>
     
    <td>
	  <table cellspacing="14">
	    <tr><td colspan="5" align="center">Aavak</td></tr>
	    <tr>
		  <td>&nbsp;</td>
		  <td>&nbsp;</td>
		  <td valign="top">Type</td>
		  <td valign="top">Branch</td>
		  <td valign="top">Party Name</td>
		  <td valign="top">Date</td>
		  <td valign="top">Metal Type</td>
		  <td valign="top">Particular</td>
		  <td valign="top">Fine</td>
		  <td valign="top">Cash Type</td>
		  <td valign="top">Amount</td>
		</tr>
		  <?php
$__section_sec_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_sec']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec'] : false;
$__section_sec_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['rtaArray']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_sec_0_total = $__section_sec_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_sec'] = new Smarty_Variable(array());
if ($__section_sec_0_total != 0) {
for ($__section_sec_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] = 0; $__section_sec_0_iteration <= $__section_sec_0_total; $__section_sec_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']++){
?>
		  <tr style="color:green;">
			 <td><a href="rojmeldelete.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['rojmelId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
			 <td><a href="rojmel.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['rojmelId'];?>
"><img src="img/edit.png"></a></td>
			 <?php if ($_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['acc_type'] == 'D') {?>
				<td>Direct</td>
			  <?php } else { ?>
				<td>Khata</td>
			  <?php }?>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['branch'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['partyName'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['rojmelDate'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['metal_type'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['particular'];?>
</td>
			 <td nowrap><?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['fine']);?>
</td>
			 <?php if ($_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['cash_type'] == 'C') {?>
				<td>CH</td>
			  <?php } elseif ($_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['cash_type'] == 'R') {?>
				<td>RT</td>
			  <?php } else { ?>
			  <td></td>
			  <?php }?>
			 <td nowrap><?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['rtaArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['amount']);?>
</td>
		  <?php
}
}
if ($__section_sec_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec'] = $__section_sec_0_saved;
}
?>
	  </table>
		<td align="center">Javak
		  <table align="center" cellspacing="10">
			<tr>
			  <td>&nbsp;</td>
		      <td>&nbsp;</td>
			  <td>Type</td>
			  <td>Branch</td>
			  <td>Party Name</td>
			  <td>Date</td>
			  <td>Metal Type</td>
			  <td>Particular</td>
			  <td>Fine</td>
			  <td>Cash Type</td>
			  <td>Amount</td>
			</tr>
			  <?php
$__section_sec1_1_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1'] : false;
$__section_sec1_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['rtjArray']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_sec1_1_total = $__section_sec1_1_loop;
$_smarty_tpl->tpl_vars['__smarty_section_sec1'] = new Smarty_Variable(array());
if ($__section_sec1_1_total != 0) {
for ($__section_sec1_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] = 0; $__section_sec1_1_iteration <= $__section_sec1_1_total; $__section_sec1_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']++){
?>
			   <tr style="color:red;">
			     <td><a href="rojmeldelete.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['rojmelId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
			     <td><a href="rojmel.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['rojmelId'];?>
"><img src="img/edit.png"></a></td>
				 <?php if ($_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['acc_type'] == 'D') {?>
					<td>Direct</td>
				  <?php } else { ?>
					<td>Khata</td>
				  <?php }?>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['branch'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['partyName'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['rojmelDate'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['metal_type'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['particular'];?>
</td>
				 <td nowrap><?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['fine']);?>
</td>
				 <?php if ($_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['cash_type'] == 'C') {?>
					<td>CH</td>
				  <?php } elseif ($_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['cash_type'] == 'R') {?>
					<td>RT</td>
				<?php } else { ?>
					<td></td>
				  <?php }?>
				 <td nowrap><?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['rtjArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['amount']);?>
</td>
			  </tr>
			  <?php
}
}
if ($__section_sec1_1_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec1'] = $__section_sec1_1_saved;
}
?>
		   </table>
		</td>
		
	</tr>
		<!-- <td><b>Fine :<?php echo number_format($_smarty_tpl->tpl_vars['b0afine']->value,3);?>
 Amount : <?php echo $_smarty_tpl->tpl_vars['b0aamount']->value;?>
</b></td> -->
		<!-- <td><b>Fine :<?php echo number_format($_smarty_tpl->tpl_vars['b0jfine']->value,3);?>
 Amount : <?php echo $_smarty_tpl->tpl_vars['b0jamount']->value;?>
</b></td> -->
</table>
<!----Rtgs : End ---------------->
<br>
<table cellspacing="0" border="" width="80%" align="center">
  <tr>
    <td>
	  <table cellspacing="14">
	    <tr><td colspan="5" align="center">Aavak</td></tr>
	    <tr>
		  <td>&nbsp;</td>
		  <td>&nbsp;</td>
		  <td valign="top">Type</td>
		  <td valign="top">Branch</td>
		  <td valign="top">Party Name</td>
		  <td valign="top">Date</td>
		  <td valign="top">Metal Type</td>
		  <td valign="top">Particular</td>
		  <td valign="top">Fine</td>
		  <td valign="top">Cash Type</td>
		  <td valign="top">Amount</td>
		</tr>
		  <?php
$__section_sec_2_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_sec']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec'] : false;
$__section_sec_2_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['rojmelArray']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_sec_2_total = $__section_sec_2_loop;
$_smarty_tpl->tpl_vars['__smarty_section_sec'] = new Smarty_Variable(array());
if ($__section_sec_2_total != 0) {
for ($__section_sec_2_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] = 0; $__section_sec_2_iteration <= $__section_sec_2_total; $__section_sec_2_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']++){
?>
		  <tr style="color:green;">
			 <td><a href="rojmeldelete.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['rojmelId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
			 <td><a href="rojmel.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['rojmelId'];?>
"><img src="img/edit.png"></a></td>
			 <?php if ($_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['acc_type'] == 'D') {?>
				<td>Direct</td>
			  <?php } else { ?>
				<td>Khata</td>
			  <?php }?>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['branch'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['partyName'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['rojmelDate'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['metal_type'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['particular'];?>
</td>
			 <td nowrap><?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['fine']);?>
</td>
			 <?php if ($_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['cash_type'] == 'C') {?>
				<td>CH</td>
			  <?php } elseif ($_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['cash_type'] == 'R') {?>
				<td>RT</td>
			  <?php } else { ?>
			  <td></td>
			  <?php }?>
			 <td nowrap><?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['rojmelArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['amount']);?>
</td>
		  <?php
}
}
if ($__section_sec_2_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec'] = $__section_sec_2_saved;
}
?>
	  </table>
		<td align="center">Javak
		  <table align="center" cellspacing="10">
			<tr>
			  <td>&nbsp;</td>
		      <td>&nbsp;</td>
			  <td>Type</td>
			  <td>Branch</td>
			  <td>Party Name</td>
			  <td>Date</td>
			  <td>Metal Type</td>
			  <td>Particular</td>
			  <td>Fine</td>
			  <td>Cash Type</td>
			  <td>Amount</td>
			</tr>
			  <?php
$__section_sec1_3_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1'] : false;
$__section_sec1_3_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['javakArray']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_sec1_3_total = $__section_sec1_3_loop;
$_smarty_tpl->tpl_vars['__smarty_section_sec1'] = new Smarty_Variable(array());
if ($__section_sec1_3_total != 0) {
for ($__section_sec1_3_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] = 0; $__section_sec1_3_iteration <= $__section_sec1_3_total; $__section_sec1_3_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']++){
?>
			   <tr style="color:red;">
			     <td><a href="rojmeldelete.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['rojmelId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
			     <td><a href="rojmel.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['rojmelId'];?>
"><img src="img/edit.png"></a></td>
				 <?php if ($_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['acc_type'] == 'D') {?>
					<td>Direct</td>
				  <?php } else { ?>
					<td>Khata</td>
				  <?php }?>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['branch'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['partyName'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['rojmelDate'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['metal_type'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['particular'];?>
</td>
				 <td nowrap><?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['fine']);?>
</td>
				 <?php if ($_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['cash_type'] == 'C') {?>
					<td>CH</td>
				  <?php } elseif ($_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['cash_type'] == 'R') {?>
					<td>RT</td>
				<?php } else { ?>
					<td></td>
				  <?php }?>
				 <td nowrap><?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['javakArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['amount']);?>
</td>
			  </tr>
			  <?php
}
}
if ($__section_sec1_3_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec1'] = $__section_sec1_3_saved;
}
?>
		   </table>
		</td>
		
	</tr>
		<td><b>Fine :<?php echo number_format($_smarty_tpl->tpl_vars['b0afine']->value,3);?>
 Amount : <?php echo $_smarty_tpl->tpl_vars['b0aamount']->value;?>
</b></td>
		<td><b>Fine :<?php echo number_format($_smarty_tpl->tpl_vars['b0jfine']->value,3);?>
 Amount : <?php echo $_smarty_tpl->tpl_vars['b0jamount']->value;?>
</b></td>
</table>
<br>
<table cellspacing="0" border="" width="80%" align="center">
  <tr>
    <td>
	  <table cellspacing="14">
	    <tr><td colspan="5" align="center">Aavak</td></tr>
	    <tr>
		  <td>&nbsp;</td>
		  <td>&nbsp;</td>
		  <td valign="top">Type</td>
		  <td valign="top">Branch</td>
		  <td valign="top">Party Name</td>
		  <td valign="top">Date</td>
		  <td valign="top">Metal Type</td>
		  <td valign="top">Particular</td>
		  <td valign="top">Fine</td>
		  <td valign="top">Cash Type</td>
		  <td valign="top">Amount</td>
		</tr>
		  <?php
$__section_sec_4_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_sec']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec'] : false;
$__section_sec_4_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['rojmelArray1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_sec_4_total = $__section_sec_4_loop;
$_smarty_tpl->tpl_vars['__smarty_section_sec'] = new Smarty_Variable(array());
if ($__section_sec_4_total != 0) {
for ($__section_sec_4_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] = 0; $__section_sec_4_iteration <= $__section_sec_4_total; $__section_sec_4_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']++){
?>
		  <tr style="color:green;">
			 <td><a href="rojmeldelete.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['rojmelId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
			 <td><a href="rojmel.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['rojmelId'];?>
"><img src="img/edit.png"></a></td>
			 <?php if ($_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['acc_type'] == 'D') {?>
				<td>Direct</td>
			  <?php } else { ?>
				<td>Khata</td>
			  <?php }?>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['branch'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['partyName'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['rojmelDate'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['metal_type'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['particular'];?>
</td>
			 <td nowrap><?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['fine']);?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['cash_type'];?>
</td>
			 <td nowrap><?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['amount']);?>
</td>
		  <?php
}
}
if ($__section_sec_4_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec'] = $__section_sec_4_saved;
}
?>
	  </table>
		<td align="center">Javak
		  <table align="center" cellspacing="10">
			<tr>
			  <td>&nbsp;</td>
		      <td>&nbsp;</td>
			  <td>Type</td>
			  <td>Branch</td>
			  <td>Party Name</td>
			  <td>Date</td>
			  <td>Metal Type</td>
			  <td>Particular</td>
			  <td>Fine</td>
			  <td>Cash Type</td>
			  <td>Amount</td>
			</tr>
			  <?php
$__section_sec1_5_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1'] : false;
$__section_sec1_5_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['javakArray1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_sec1_5_total = $__section_sec1_5_loop;
$_smarty_tpl->tpl_vars['__smarty_section_sec1'] = new Smarty_Variable(array());
if ($__section_sec1_5_total != 0) {
for ($__section_sec1_5_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] = 0; $__section_sec1_5_iteration <= $__section_sec1_5_total; $__section_sec1_5_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']++){
?>
			   <tr style="color:red;">
			     <td><a href="rojmeldelete.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['rojmelId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
			     <td><a href="rojmel.php?rojmelId=<?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['rojmelId'];?>
"><img src="img/edit.png"></a></td>
				 <?php if ($_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['acc_type'] == 'D') {?>
					<td>Direct</td>
				  <?php } else { ?>
					<td>Khata</td>
				  <?php }?>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['branch'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['partyName'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['rojmelDate'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['metal_type'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['particular'];?>
</td>
				 <td nowrap><?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['fine']);?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['cash_type'];?>
</td>
				 <td nowrap><?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['amount']);?>
</td>
			  </tr>
			  <?php
}
}
if ($__section_sec1_5_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec1'] = $__section_sec1_5_saved;
}
?>
		   </table>
		</td>
		
	</tr>
		<td><b>Fine :<?php echo number_format($_smarty_tpl->tpl_vars['b1afine']->value,3);?>
 Amount : <?php echo $_smarty_tpl->tpl_vars['b1aamount']->value;?>
</b></td>
		<td><b>Fine :<?php echo number_format($_smarty_tpl->tpl_vars['b1jfine']->value,3);?>
 Amount : <?php echo $_smarty_tpl->tpl_vars['b1jamount']->value;?>
</b></td>
</table>
<table align="center" width="40%">
<tr>
  <td>Branch 0 : </td>
  <td>Fine : <?php echo number_format($_smarty_tpl->tpl_vars['allb0NetFine']->value,3);?>
</td>
  <td>Amount : <?php echo $_smarty_tpl->tpl_vars['allb0NetAmt']->value;?>
</td>
</tr>
<tr>
  <td>Branch 1 : </td>
  <td>Fine : <?php echo number_format($_smarty_tpl->tpl_vars['allb1NetFine']->value,3);?>
</td>
  <td>Amount : <?php echo $_smarty_tpl->tpl_vars['allb1NetAmt']->value;?>
</td>
</tr>
<tr>
  <td>Fine : <?php echo number_format($_smarty_tpl->tpl_vars['netFine']->value,3);?>
</td>
</tr>
<tr>
<td>Amount : <?php echo $_smarty_tpl->tpl_vars['netAmount']->value;?>
</td>
</tr>
</table>
<?php
}
}
/* {/block 'body'} */
}
