<?php /* Smarty version Smarty-3.1.11, created on 2024-03-24 12:06:57
         compiled from "../views/obgy/gyna/showInvestigation.html" */ ?>
<?php /*%%SmartyHeaderCode:3332344165fffb411ce323-87574004%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e21e90bcb673333279aaa232155aa9b9d7aa435f' => 
    array (
      0 => '../views/obgy/gyna/showInvestigation.html',
      1 => 1508923080,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3332344165fffb411ce323-87574004',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'dates' => 0,
    'inv' => 0,
    'countWife' => 0,
    'invest' => 0,
    'countHusband' => 0,
    'date' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_65fffb413a10d8_12359624',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_65fffb413a10d8_12359624')) {function content_65fffb413a10d8_12359624($_smarty_tpl) {?>
<table class="table table-striped table-hover table-bordered">
    <thead>
        <tr>
            <th class="bold col-md-1"> <div align="center">Date </div></th>
            <th class="bold"> <div align="center">Investigations </div></th>
        </tr>
    </thead>


    <tbody>
        <?php  $_smarty_tpl->tpl_vars['inv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dates']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inv']->key => $_smarty_tpl->tpl_vars['inv']->value){
$_smarty_tpl->tpl_vars['inv']->_loop = true;
?>
        <tr>
            <td><?php echo $_smarty_tpl->tpl_vars['inv']->value["date"];?>
</td>
            <td>
                <table class="table table-striped table-hover table-bordered">
                    <?php if ($_smarty_tpl->tpl_vars['countWife']->value[$_smarty_tpl->tpl_vars['inv']->value["date"]]>0){?>
                    <tr>
                        <td class="bold col-md-1">
                            Wife
                        </td>
                        <td>

                            <?php  $_smarty_tpl->tpl_vars['invest'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['invest']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['inv']->value['investsw']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['invest']->key => $_smarty_tpl->tpl_vars['invest']->value){
$_smarty_tpl->tpl_vars['invest']->_loop = true;
?>

                            <div class="form-group " style=" width: 32%; float: left; ">
                                <label class="col-md-8 control-label bold txtl" style=" font-size: 16px; margin-left: 4px;"><?php echo $_smarty_tpl->tpl_vars['invest']->value->invname;?>
:</label>
                                <div class="col-md-3">
                                    <input type="text" class="form-control updateElement" data-colName="investresult" data-id="<?php echo $_smarty_tpl->tpl_vars['invest']->value->id;?>
"  data-tableName="gynainvestigation" value="<?php echo $_smarty_tpl->tpl_vars['invest']->value->investresult;?>
">

                                </div>
                            </div>
                            <?php } ?>
                        </td>
                        <td><button type="button" class="btn green btn-block btn-xs printInv" data-for="wife"  data-date="<?php echo $_smarty_tpl->tpl_vars['inv']->value['date'];?>
"  data-controller="gyna">  Print  </button></td>
                        <td>
                            <a class="btn grey-cascade btn-xs delNew" data-id="1" data-for="0" data-date="<?php echo $_smarty_tpl->tpl_vars['inv']->value['date'];?>
" style=" float: left;" href="#" data-link="gyna" data-fn="del" data-tableName="gynainvestigation">
                                <i class="fa fa-close"></i>
                            </a>
                        </td>
                    </tr>
                    <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['countHusband']->value[$_smarty_tpl->tpl_vars['inv']->value["date"]]>0){?>
                    <tr>
                        <td class="bold col-md-1">
                            Husband
                        </td>

                        <td>

                            <?php  $_smarty_tpl->tpl_vars['invest'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['invest']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['inv']->value['investsh']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['invest']->key => $_smarty_tpl->tpl_vars['invest']->value){
$_smarty_tpl->tpl_vars['invest']->_loop = true;
?>

                            <div class="form-group " style=" width: 32%; float: left; ">
                                <label class="col-md-8 control-label bold txtl" style=" font-size: 16px; margin-left: 4px;"><?php echo $_smarty_tpl->tpl_vars['invest']->value->invname;?>
:</label>
                                <div class="col-md-3">
                                    <input type="text" class="form-control updateElement" data-colName="investresult" data-id="<?php echo $_smarty_tpl->tpl_vars['invest']->value->id;?>
"  data-tableName="gynainvestigation" value="<?php echo $_smarty_tpl->tpl_vars['invest']->value->investresult;?>
">

                                </div>
                            </div>
                            <?php } ?>
                        </td>
                        <td><button type="button" class="btn green btn-block btn-xs printInv" data-for="husband"  data-date="<?php echo $_smarty_tpl->tpl_vars['inv']->value['date'];?>
"  data-controller="gyna">  Print  </button></td>
                        <td>
                            <a class="btn grey-cascade btn-xs delNew" data-id="1" data-for="1" data-date="<?php echo $_smarty_tpl->tpl_vars['date']->value['date'];?>
" style=" float: left;" href="#" data-link="gyna" data-fn="del" data-tableName="gynainvestigation">
                                <i class="fa fa-close"></i>
                            </a>
                        </td>
                    </tr>
                    <?php }?>
                </table>
            </td>
        </tr>
        <?php } ?>
    </tbody>

</table><?php }} ?>