<?php /* Smarty version Smarty-3.1.11, created on 2025-03-22 02:52:21
         compiled from "../views/obgy/reports/terminationsearch.html" */ ?>
<?php /*%%SmartyHeaderCode:213919665967de8855d1c677-38805459%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6b319f78fd19290bba828e9b4e0d2693c69098f8' => 
    array (
      0 => '../views/obgy/reports/terminationsearch.html',
      1 => 1542464114,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '213919665967de8855d1c677-38805459',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'allData' => 0,
    'i' => 0,
    'data' => 0,
    'hosturl' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_67de8856044b47_60857958',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67de8856044b47_60857958')) {function content_67de8856044b47_60857958($_smarty_tpl) {?><table class="table table-hover portlet light bg-inverse" id="repTable">
    <thead>
        <tr>
            <th>No.</th>
            <th>Status No.</th>
            <th>
                Patient Name
            </th>
            <th>
                Husband Name
            </th>
            <th>Date </th>
        </tr>
    </thead>
    <tbody>
        <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("1", null, 0);?>
        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allData']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
        <tr class="odd gradeX">
            <td><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['statusno'];?>
</td>
            <td>
                <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/patienthistory.php?ac=show&patientid=<?php echo $_smarty_tpl->tpl_vars['data']->value['patientid'];?>
#tab_2_6" target="_new"><?php echo $_smarty_tpl->tpl_vars['data']->value['wifename'];?>
</a>
            </td>
            <td>
                <?php echo $_smarty_tpl->tpl_vars['data']->value['husdandname'];?>

            </td>
            <td>
                <?php echo $_smarty_tpl->tpl_vars['data']->value['obsdate'];?>

            </td>

        </tr>
        <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable($_tmp1, null, 0);?>
        <?php } ?>
    </tbody>
</table>



<script type="text/javascript" >
    $('#repTable').dataTable();
</script>




<div class="modal-body printtable" id="printd" style="display:none">
    <center><h4 class="modal-title">Termination report</h4></center>
    <table class="table table-hover portlet light bg-inverse" >
        <thead>
            <tr>
                <th>No.</th>
                <th>Status No.</th>
                <th>
                    Patient Name
                </th>
                <th>
                    Husband Name
                </th>
                <th>Date </th>
            </tr>
        </thead>
        <tbody>
            <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("1", null, 0);?>
            <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allData']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
            <tr class="odd gradeX">
                <td><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['data']->value['statusno'];?>
</td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['data']->value['wifename'];?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['data']->value['husdandname'];?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['data']->value['obsdate'];?>

                </td>

            </tr>
            <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable($_tmp2, null, 0);?>
            <?php } ?>
        </tbody>
    </table>
</div><?php }} ?>