<?php
/* Smarty version 3.1.30, created on 2024-02-19 09:35:44
  from "/home/hgsonsc1/raajaram.co.in/templates/rojmel.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_65d2d3985df6e5_72827744',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '4688ecb280877182ab098f7063cfd07db7618339' => 
    array (
      0 => '/home/hgsonsc1/raajaram.co.in/templates/rojmel.tpl',
      1 => 1698067614,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:./main.tpl' => 1,
  ),
),false)) {
function content_65d2d3985df6e5_72827744 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_function_html_options')) require_once '/home/hgsonsc1/raajaram.co.in/include/smarty/libs/plugins/function.html_options.php';
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_72847526765d2d39856c447_29966713', 'head');
?>

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_176395637565d2d3985dbd76_00574134', '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_72847526765d2d39856c447_29966713 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{
  border: none;
}
</style>
<?php
}
}
/* {/block 'head'} */
/* {block 'body'} */
class Block_176395637565d2d3985dbd76_00574134 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

<form name="partyForm"action="<?php echo $_SERVER['PHP_SELF'];?>
" method="POST">
<input type="hidden" name="rojmelId" value="<?php echo $_smarty_tpl->tpl_vars['rojmelId']->value;?>
">
<h1 align="center"><font size="5px">Rojmel Entry</font></h1>
<table cellpadding="3" cellspacing="0" border="" align="center" width=60<?php echo '%>';?>
   <tr>
    <td align="left">Client Name
	  <select name="partyId" required>
	     <option value="0">Select Party</option>
	    <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['clientArray']->value['partyId'],'output'=>$_smarty_tpl->tpl_vars['clientArray']->value['partyName'],'selected'=>$_smarty_tpl->tpl_vars['partyId']->value),$_smarty_tpl);?>

	  </select>
	</td>
	<td align="right">Date
	   <?php echo smarty_function_html_select_date(array('prefix'=>"rdt",'start_year'=>"-1",'end_year'=>"+0",'day_value_format'=>"%02d",'field_order'=>"DMY",'time'=>$_smarty_tpl->tpl_vars['rojmelDate']->value),$_smarty_tpl);?>

	</td>
  </tr>
  </table>
  <br>
  <table cellpadding="3" cellspacing="0" border="" align="center" width=30<?php echo '%>';?>
   <tr>
    <td>Type</td>
    <td>
	  <select name="rojTransType">
	    <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['typeArrayValue']->value,'output'=>$_smarty_tpl->tpl_vars['typeArrayOutput']->value,'selected'=>$_smarty_tpl->tpl_vars['rojTransType']->value),$_smarty_tpl);?>

	  </select>
	</td>
  </tr>
  
   <tr>
    <td>Branch</td>
    <td>
	  <select name="branch">
		<option value="0">Select Branch</option>
	    <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['branchInput']->value,'output'=>$_smarty_tpl->tpl_vars['branchOutput']->value,'selected'=>$_smarty_tpl->tpl_vars['branch']->value),$_smarty_tpl);?>

	  </select>
	</td>
  </tr>
   <tr>
    <td>Direct / Khata</td>
    <td>
	  <select name="acc_type">
	    <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['sellTypeValue']->value,'output'=>$_smarty_tpl->tpl_vars['sellTypOutput']->value,'selected'=>$_smarty_tpl->tpl_vars['acc_type']->value),$_smarty_tpl);?>

	  </select>
	</td>
  </tr>
  <tr>
    <td>Metal Type</td>
    <td>
	  <select name="metal_type">
	    <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['metalValue']->value,'output'=>$_smarty_tpl->tpl_vars['metalOutput']->value,'selected'=>$_smarty_tpl->tpl_vars['metal_type']->value),$_smarty_tpl);?>

	  </select>
	</td>
  </tr>
  <tr>
    <td>Particular</td>
	<td><input type="text" name="particular" value="<?php echo $_smarty_tpl->tpl_vars['particular']->value;?>
"></td>
  </tr>
  <tr>
    <td>Fine</td>
	<td><input type="text" name="fine" value="<?php echo $_smarty_tpl->tpl_vars['fine']->value;?>
"></td>
  </tr>
  <tr>
    <td>Amount</td>
		<td><input type="text" name="amount" value="<?php echo $_smarty_tpl->tpl_vars['amount']->value;?>
"></td>
  </tr>
  <tr>
  	<td colspan="3" align="center"><input type="submit" value="Submit" name="submit" class="btn"></td>
  </tr>
</table>
</form>
<?php
}
}
/* {/block 'body'} */
}
