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

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

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