<?php /* Smarty version Smarty-3.1.11, created on 2024-03-24 12:01:00
         compiled from "../views/obgy/investigation/newphpasthxrow.html" */ ?>
<?php /*%%SmartyHeaderCode:130391958265fff9dc760b63-77443724%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '65c635d43987ba2b79d99b297ec48afc0821d7d6' => 
    array (
      0 => '../views/obgy/investigation/newphpasthxrow.html',
      1 => 1673861674,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '130391958265fff9dc760b63-77443724',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'case_summary' => 0,
    'itr' => 0,
    'phpasthx_obj' => 0,
    'phpasthxtypes' => 0,
    'data' => 0,
    'ProgramesettingData' => 0,
    'username' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_65fff9dc801af4_85250974',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_65fff9dc801af4_85250974')) {function content_65fff9dc801af4_85250974($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['case_summary']->value==1){?>

<tr>
    <td class="wds45"> 
        <select  class="form-control  pasthx_type updateElement allupdateselect" data-val="" id="pasthx_type<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" select-tableName="phpasthxtypes"  name="pasthx_type" data-colName="pasthx_type" data-id="<?php echo $_smarty_tpl->tpl_vars['phpasthx_obj']->value->id;?>
" data-tableName="phpasthx" >
            <option value="">choose</option>
            <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['phpasthxtypes']->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;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
 </option>
            <?php } ?>
            <option value="-2" class="deleteoptincompo">Delete</option>
        </select>
    </td>
    <td>
        <input type="text" class="amrpop form-control updateElement" id="pasthxnote" placeholder="Note" name="pasthxnote" data-colName="pasthxnote"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpasthx_obj']->value->id;?>
" data-tableName="phpasthx"/>
    </td>
    <td class="wds5"> 
        <a class="btn grey-cascade btn-xs deletemsgEX2" data-id="<?php echo $_smarty_tpl->tpl_vars['phpasthx_obj']->value->id;?>
" 
           data-link="case_summary"  data-fn="del" data-tableName="phpasthx" data-colName="del">
            <i class="fa fa-times"></i> </a>
    </td>
</tr>
<?php }else{ ?>

<?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->displaydoctorname==1){?>
<div class="row">
    <div class="col-md-1">
        <div class="form-group form-md-line-input form-md-floating-label has-info">
            <label for="form_control_1"><?php echo $_smarty_tpl->tpl_vars['username']->value;?>
</label>
        </div>
    </div>
</div>
<?php }?>

<div class="row clinick">

    <div class="col-md-4">
        <div class="form-group">
            <label class="control-label col-md-3 ls2">Type</label>
            <select  class="form-control  pasthx_type updateElement allupdateselect" data-val="" id="pasthx_type<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" select-tableName="phpasthxtypes"  name="pasthx_type" data-colName="pasthx_type" data-id="<?php echo $_smarty_tpl->tpl_vars['phpasthx_obj']->value->id;?>
" data-tableName="phpasthx" >
                <option value="">choose</option>
                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['phpasthxtypes']->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;
?>
                <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
 </option>
                <?php } ?>
                <option value="-2" class="deleteoptincompo">Delete</option>
            </select>
        </div>
    </div>
    <div class="col-md-8">
        <div class="form-group form-md-line-input form-md-floating-label has-info">
            <button type="button"  style="    top: 20px;" class="btn btn-xs red fright deleteElement delbtnsml" data-id="<?php echo $_smarty_tpl->tpl_vars['phpasthx_obj']->value->id;?>
" data-tableName="phpasthx"><i class="fa fa-close"></i></button>
            <input type="text" class="amrpop form-control updateElement" id="pasthxnote" placeholder="Note" name="pasthxnote" data-colName="pasthxnote"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpasthx_obj']->value->id;?>
" data-tableName="phpasthx"/>
            <label for="pasthxnote">Notes</label>
        </div>
    </div>


</div>

<div class="clearfix"></div>

<?php }?>
<?php }} ?>