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

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_645e16d03b4f91_95135361',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'd6dc17991729ec2d8d5e1fd62598682c6002f3e7' => 
    array (
      0 => '/home/hgsonsc1/raajaram.co.in/templates/pendingsaudaList.tpl',
      1 => 1677351195,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:./main.tpl' => 1,
  ),
),false)) {
function content_645e16d03b4f91_95135361 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>
.
<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_413467733645e16d0201990_77771725', 'head');
?>

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_450450077645e16d03aa488_70122045', '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_413467733645e16d0201990_77771725 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;
	}
}

$(function() {
	$(".saudaId").click(function() {
	if ($(this).is(":checked")) 
	{
		 var dataString = "saudaId=" +$(this).val();
			$.ajax({
			type: "POST",
			url: "updateStatusCheckedmcx.php",
			data: dataString,
			success:function(data)
			{}
		});
	}
	else
	{
		var dataString = "saudaId=" +$(this).val();
			$.ajax({
			type: "POST",
			url: "updateStatusUnCheckedmcx.php",
			data: dataString,
			success:function(data)
			{
			  
			}
		});
	}
  });
});
<?php echo '</script'; ?>
>
<style>
td{
   font-size: 90%;
   vertical-align: text-top;
}	
a
{
  text-decoration:none;
}
.table{
width: 20% !important;
}
</style>
<?php
}
}
/* {/block 'head'} */
/* {block 'body'} */
class Block_450450077645e16d03aa488_70122045 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;?>
">
<h1 align="center"><font size="5px">Pending Sauda List <a href="pendingprint_new.php"><font size="3px">Print</font></a></font></h1>
<table cellspacing="0" border="" width="70%" align="center">
  <tr>
    <td>
	  <table class="table" cellspacing="0" width="70%" align="center">
	    <tr><td colspan="9" align="center">Buy</td></tr>
	    <tr>
		  <td>&nbsp;</td>
		  <td>&nbsp;</td>
		  <!-- <td valign="top">Type</td> -->
		  <td valign="top">Party Name</td>
		  <td valign="top">Branch</td>
		  <td valign="top">Metal Type</td>
		  <td valign="top">Date</td>
		  <td valign="top">Particular</td>
		  <td valign="top">Cash Type</td>
		  <td valign="top">Rate</td>
		  <td valign="top">Fine</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['rojmelArray']->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="saudadelete.php?saudaId=<?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)]['saudaId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
			 <td><a href="sauda.php?saudaId=<?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)]['saudaId'];?>
"><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)]['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)]['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)]['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)]['saudaDate'];?>
</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>
			 <?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'] == 'R') {?>
			 <td nowrap>RTGS</td>
			 <?php } else { ?>
			 <td nowrap>Cash</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)]['rate'];?>
</td>
			 <td nowrap><?php echo number_format($_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'],3);?>
</td>
			 <td nowrap><?php echo number_format($_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'],2);?>
</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)]['mcxcheckStatus'] == 1) {?>
			 <td><input type="checkbox" value="<?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)]['saudaId'];?>
" class="saudaId" checked></td>
			 <?php } else { ?>
			 <td><input type="checkbox" value="<?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)]['saudaId'];?>
" class="saudaId"></td>
			 <?php }?>
		  <?php
}
}
if ($__section_sec_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec'] = $__section_sec_0_saved;
}
?>
	  </table>
	  <td align="center">Sell
	  <table class="table" cellspacing="0" width="70%" align="center">
			<tr>
			  <td>&nbsp;</td>
		      <td>&nbsp;</td>
			  <!-- <td>Type</td> -->
			  <td>Party Name</td>
			  <td>Branch</td>
			  <td>Metal Type</td>
			  <td>Date</td>
			  <td>Particular</td>
			  <td valign="top">Cash Type</td>
			  <td valign="top">Rate</td>
			  <td>Fine</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['javakArray']->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="saudadelete.php?saudaId=<?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)]['saudaId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
			     <td><a href="sauda.php?saudaId=<?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)]['saudaId'];?>
"><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)]['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)]['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)]['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)]['saudaDate'];?>
</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>
				 <?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'] == 'R') {?>
				 <td nowrap>RTGS</td>
				 <?php } else { ?>
				 <td nowrap>Cash</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)]['rate'];?>
</td>
				 <td nowrap><?php echo number_format($_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'],3);?>
</td>
				 <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>
				 <?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)]['mcxcheckStatus'] == 1) {?>
				 <td><input type="checkbox" value="<?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)]['saudaId'];?>
" class="saudaId" checked></td>
				 <?php } else { ?>
				 <td><input type="checkbox" value="<?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)]['saudaId'];?>
" class="saudaId"></td>
				 <?php }?>
			  </tr>
			  <?php
}
}
if ($__section_sec1_1_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec1'] = $__section_sec1_1_saved;
}
?>
		   </table>
		</td>
	</tr>
</table>
 <!--<br><br><br>
<table cellspacing="0" border="" width="90%" align="center">
  <tr>
    <td>
	  <table cellspacing="14">
	    <tr><td colspan="5" align="center">Buy</td></tr>
	    <tr>
		  <td>&nbsp;</td>
		  <td>&nbsp;</td>
		  <td valign="top">Type</td> 
		  <td valign="top">Party Name</td>
		  <td valign="top">Branch</td>
		  <td valign="top">Date</td>
		  <td valign="top">Particular</td>
		  <td valign="top">Cash Type</td>
		  <td valign="top">Rate</td>
		  <td valign="top">Fine</td>
		  <td valign="top">Amount</td>
			
		</tr>
		  <?php
$__section_sec12_2_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12'] : false;
$__section_sec12_2_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['rojmelArray1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_sec12_2_total = $__section_sec12_2_loop;
$_smarty_tpl->tpl_vars['__smarty_section_sec12'] = new Smarty_Variable(array());
if ($__section_sec12_2_total != 0) {
for ($__section_sec12_2_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] = 0; $__section_sec12_2_iteration <= $__section_sec12_2_total; $__section_sec12_2_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']++){
?>
		  <tr style="color:green;">
			 <td><a href="saudadelete.php?saudaId=<?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['saudaId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
			 <td><a href="sauda.php?saudaId=<?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['saudaId'];?>
"><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['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['partyName'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['branch'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['saudaDate'];?>
</td>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['particular'];?>
</td>
			 <?php if ($_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['cash_type'] == 'R') {?>
			 <td nowrap>RTGS</td>
			 <?php } else { ?>
			 <td nowrap>Cash</td>
			 <?php }?>
			 <td nowrap><?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['rate'];?>
</td>
			 <td nowrap><?php echo number_format($_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['fine'],3);?>
</td>
			 <td nowrap><?php echo number_format($_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['amount'],2);?>
</td>
			 <?php if ($_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['mcxcheckStatus'] == 1) {?>
			 <td><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['saudaId'];?>
" class="saudaId" checked></td>
			 <?php } else { ?>
			 <td><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['rojmelArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec12']->value['index'] : null)]['saudaId'];?>
" class="saudaId"></td>
			 <?php }?>
		  <?php
}
}
if ($__section_sec12_2_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec12'] = $__section_sec12_2_saved;
}
?>
	  </table>
		<td align="center">Sell
		  <table align="center" cellspacing="10">
			<tr>
			  <td>&nbsp;</td>
		      <td>&nbsp;</td>
			  <!-- <td>Type</td> -->
			  <!-- <td>Party Name</td>
			  <td>Branch</td>
			  <td>Date</td>
			  <td>Particular</td>
			  <td valign="top">Cash Type</td>
			  <td valign="top">Rate</td>
			  <td>Fine</td>
			  <td>Amount</td>
			</tr>
			  <?php
$__section_sec13_3_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13'] : false;
$__section_sec13_3_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['javakArray1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_sec13_3_total = $__section_sec13_3_loop;
$_smarty_tpl->tpl_vars['__smarty_section_sec13'] = new Smarty_Variable(array());
if ($__section_sec13_3_total != 0) {
for ($__section_sec13_3_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] = 0; $__section_sec13_3_iteration <= $__section_sec13_3_total; $__section_sec13_3_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']++){
?>
			   <tr style="color:red;">
			     <td><a href="saudadelete.php?saudaId=<?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['saudaId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
			     <td><a href="sauda.php?saudaId=<?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['saudaId'];?>
"><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['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['partyName'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['branch'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['saudaDate'];?>
</td>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['particular'];?>
</td>
				 <?php if ($_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['cash_type'] == 'R') {?>
				 <td nowrap>RTGS</td>
				 <?php } else { ?>
				 <td nowrap>Cash</td>
				<?php }?>
				 <td nowrap><?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['rate'];?>
</td>
				 <td nowrap><?php echo number_format($_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['fine'],3);?>
</td>
				 <td nowrap><?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['amount']);?>
</td>
				 <?php if ($_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['mcxcheckStatus'] == 1) {?>
				 <td><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['saudaId'];?>
" class="saudaId" checked></td>
				 <?php } else { ?>
				 <td><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['javakArray1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec13']->value['index'] : null)]['saudaId'];?>
" class="saudaId"></td>
				 <?php }?>
			  </tr>
			  <?php
}
}
if ($__section_sec13_3_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec13'] = $__section_sec13_3_saved;
}
?>
		   </table>
		</td>
</table>-->
<table cellspacing="0" width="90%" align="center">
<tr>
  <td>Branch 0 Fine : <?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['rtgsfine']->value);?>
 &nbsp; &nbsp; &nbsp; &nbsp; Branch 0 Amount : <?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['rtgsAmt']->value);?>
</td>
</tr>	
<tr>
  <td>Branch 1 Fine : <?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['Cashfine']->value);?>
 &nbsp; &nbsp; &nbsp; &nbsp;  Branch 1 Amount : <?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['CashAmt']->value);?>
</td>
</tr> 
<tr>
  <td>Fine : <?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['netFine']->value);?>
</td>
</tr>
<tr>
<td>Amount : <?php echo sprintf("%.0f",$_smarty_tpl->tpl_vars['netAmount']->value);?>
</td>
</tr>
</table>
<?php
}
}
/* {/block 'body'} */
}
