<?php /* Smarty version Smarty-3.1.11, created on 2025-02-12 00:03:23
         compiled from "../views/obgy/patienthistory/newPastSurgicalRow.html" */ ?>
<?php /*%%SmartyHeaderCode:9027338267ac55cbce4e45-27864258%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a50bb1242b0bb0e416160408d10dd5f2fcb2bf26' => 
    array (
      0 => '../views/obgy/patienthistory/newPastSurgicalRow.html',
      1 => 1542464114,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9027338267ac55cbce4e45-27864258',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ProgramesettingData' => 0,
    'username' => 0,
    'itr' => 0,
    'phpastsurgical_obj' => 0,
    'allphpastsurgicaloperation' => 0,
    'myallphpastsurgicaloperation' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_67ac55cbd6da67_32796738',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67ac55cbd6da67_32796738')) {function content_67ac55cbd6da67_32796738($_smarty_tpl) {?>
<div>
    <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->displaydoctorname==1){?>
    <div class="row ltr" >
        <div class="col-md-1">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <label class="control-label col-md-2 "><?php echo $_smarty_tpl->tpl_vars['username']->value;?>
</label>
            </div>
        </div>
    </div>
    <?php }?>
    <div class="row ltr" >
        <div class="col-md-4">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Operation</label>-->
                <select  class="form-control  surgicaloperation updateElement allupdateselect" data-val="" id="surgicaloperation<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="surgicaloperation" data-colName="surgicaloperation" select-tableName="phpastsurgicaloperation" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastsurgical_obj']->value->id;?>
" data-tableName="phpastsurgical" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['myallphpastsurgicaloperation'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphpastsurgicaloperation']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphpastsurgicaloperation']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphpastsurgicaloperation']->key => $_smarty_tpl->tpl_vars['myallphpastsurgicaloperation']->value){
$_smarty_tpl->tpl_vars['myallphpastsurgicaloperation']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['myallphpastsurgicaloperation']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['myallphpastsurgicaloperation']->value->name;?>
 </option>
                    <?php } ?>
                    <option value="-2" class="deleteoptincompo" >Delete</option>
                </select>
            </div>
        </div>

        <div class="col-md-2">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <input type="text" class="form-control updateElement"  name="phsurgicalyear" data-colName="phsurgicalyear" placeholder="Year" data-colName = "phsurgicalyear" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastsurgical_obj']->value->id;?>
" data-tableName="phpastsurgical" />
                <!--<label for="Year">Year</label>-->
            </div>
        </div>


        <div class="col-md-2">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <input type="text" class="form-control updateElement"  name="phsurgicalsurgeon" data-colName="phsurgicalsurgeon" placeholder="Surgeon" data-colName = "phsurgicalsurgeon" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastsurgical_obj']->value->id;?>
" data-tableName="phpastsurgical" />
                <!--<label for="surgeon">Surgeon</label>-->
            </div>
        </div>

        <div class="col-md-4">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <div class="form-group form-md-line-input form-md-floating-label has-info">
                    <input type="text" class="amrpop form-control updateElement" name="surgicalnote" data-colName="surgicalnote" placeholder="Note" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastsurgical_obj']->value->id;?>
" data-tableName="phpastsurgical"/>
                </div>
                <button type="button" class="btn btn-xs red fright deleteElement delbtnsml" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastsurgical_obj']->value->id;?>
" data-tableName="phpastsurgical"><i class="fa fa-close"></i></button>
            </div>
        </div>

    </div>
</div><?php }} ?>