<?php /* Smarty version Smarty-3.1.11, created on 2025-06-21 18:49:26
         compiled from "../views/obgy/case_summary/semen_hus.html" */ ?>
<?php /*%%SmartyHeaderCode:1951439776856d4865d53e3-86618437%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '14ded3c139d7753d2c0b3acf8d6cca0fda109dde' => 
    array (
      0 => '../views/obgy/case_summary/semen_hus.html',
      1 => 1674625826,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1951439776856d4865d53e3-86618437',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'semen_husCount' => 0,
    'semen_hus' => 0,
    'semen' => 0,
    'controllname' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6856d4865f6aa7_26373069',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6856d4865f6aa7_26373069')) {function content_6856d4865f6aa7_26373069($_smarty_tpl) {?><table>
    <caption>
        Semen analysis    <button type="button" class="btn btn-xs blue addInvRow" id="invsemen" data-tableName="semen" 
                                  data-hus="1" data-itr="<?php echo $_smarty_tpl->tpl_vars['semen_husCount']->value;?>
"><i class="fa fa-plus"></i> </button>
    </caption>
    <tbody id="semenHusDiv">
        <?php if ($_smarty_tpl->tpl_vars['semen_husCount']->value>0){?>   
        <tr>
            <th class="wds8" rowspan="2"> Date  </th>  
            <th class="wds8" rowspan="2"> Total count </th>
            <th class="wds8" rowspan="2"> Concentration  </th>  
            <th class="wds16" colspan="2"> Mobility  </th>  
            <th class="wds8" rowspan="2"> Normal  Forms  </th> 
            <th class="wds8" rowspan="2"> Abnormal Forms  </th> 
            <th class="wds2" rowspan="2">   </th> 
        </tr>
        <tr>
            <th class="wds8"> Total  </th>  
            <th class="wds8"> Progressive  </th>  
        </tr>
        <?php }?>

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