<?php /* Smarty version Smarty-3.1.11, created on 2025-06-21 18:49:26
         compiled from "../views/obgy/case_summary/hsg.html" */ ?>
<?php /*%%SmartyHeaderCode:10857625666856d48668ad81-19025451%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a298056a330bd8e71d24d4227426210e4e3363b9' => 
    array (
      0 => '../views/obgy/case_summary/hsg.html',
      1 => 1674625826,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '10857625666856d48668ad81-19025451',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hsgCount' => 0,
    'hsgs' => 0,
    'hsg' => 0,
    'controllname' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6856d4866a4e64_15289433',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6856d4866a4e64_15289433')) {function content_6856d4866a4e64_15289433($_smarty_tpl) {?><table>
    <caption>
        HSG   <button type="button" class="btn btn-xs blue addInvRow" id="invhsg" data-tableName="hsg" 
                      data-hus="0" data-itr="<?php echo $_smarty_tpl->tpl_vars['hsgCount']->value;?>
"> <i class="fa fa-plus"></i> </button>
    </caption>

    <tbody  id="hsgDiv">
        <?php if ($_smarty_tpl->tpl_vars['hsgCount']->value>0){?>   
        <tr>
            <th class="wds8" > Date  </th>  
            <th class="wds8" > Uterus </th>
            <th class="wds8" > R.tube  </th>  
            <th class="wds8">L.tube  </th>  
            <th class="wds8" > Smear  </th> 
            <th class="wds8" > Notes   </th> 
            <th class="wds2">   </th> 
        </tr>
        <?php }?>

        <?php  $_smarty_tpl->tpl_vars['hsg'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['hsg']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['hsgs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['hsg']->key => $_smarty_tpl->tpl_vars['hsg']->value){
$_smarty_tpl->tpl_vars['hsg']->_loop = true;
?>
        <tr> 
            <td>
                <input type="text" class="form-control datepicker updateElement txtc" 
                       data-tableName="hsg" data-colName="sdate" data-id="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->id;?>
" value="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->sdate;?>
"/>
            </td> 
            <td>
                <input type="text" class="form-control updateElement" 
                       data-tableName="hsg" data-colName="uterus" data-id="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->id;?>
" value="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->uterus;?>
"/>
            </td>
            <td>
                <input type="text" class="form-control updateElement"  data-tableName="hsg"
                       data-colName="rtube" data-id="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->id;?>
" value="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->rtube;?>
"/>
            </td>
            <td>
                <input type="text" class="form-control updateElement"  data-tableName="hsg"
                       data-colName="ltube" data-id="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->id;?>
" value="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->ltube;?>
"/>
            </td>
            <td>
                <input type="text" class="form-control updateElement"  data-tableName="hsg"
                       data-colName="smear" data-id="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->id;?>
" value="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->smear;?>
"/>
            </td>
            <td>
                <input type="text" class="form-control updateElement"  data-tableName="hsg"
                       data-colName="notes" data-id="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->id;?>
" value="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->notes;?>
"/>
            </td>
            <td>
                <a class="btn grey-cascade btn-xs deletemsgEX2" data-id="<?php echo $_smarty_tpl->tpl_vars['hsg']->value->id;?>
" 
                   data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
"  data-fn="del" data-tableName="hsg" data-colName="del">
                    <i class="fa fa-times"></i> </a>
            </td>
        </tr>
        <?php } ?>
    </tbody>
</table>
<?php }} ?>