<?php /* Smarty version Smarty-3.1.11, created on 2023-08-24 16:41:33
         compiled from "..\views\obgy\index_search.html" */ ?>
<?php /*%%SmartyHeaderCode:3182964e76c1d7864f8-51541820%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1f8045c00a5d382d6ea7d28e1808d1a8994e4e22' => 
    array (
      0 => '..\\views\\obgy\\index_search.html',
      1 => 1686461738,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3182964e76c1d7864f8-51541820',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'allvisit' => 0,
    'value' => 0,
    'programesetting' => 0,
    'i' => 0,
    'hosturl' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_64e76c1dbbfbc8_15954332',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_64e76c1dbbfbc8_15954332')) {function content_64e76c1dbbfbc8_15954332($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
<?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['allvisit']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
$_smarty_tpl->tpl_vars['value']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['value']->key;
?>

<tr id="visitDoneRow<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
" class="entervisitors   <?php if ($_smarty_tpl->tpl_vars['value']->value['view']==1){?>  visitDone  <?php }?> dep_for_<?php echo $_smarty_tpl->tpl_vars['value']->value['for_department'];?>
_<?php echo $_smarty_tpl->tpl_vars['value']->value['for_doctor'];?>
    vi_all    vi_all_dept_<?php echo $_smarty_tpl->tpl_vars['value']->value['for_doctor'];?>
  vi_all_doc<?php echo $_smarty_tpl->tpl_vars['value']->value['for_department'];?>
"  
    <?php if ($_smarty_tpl->tpl_vars['value']->value['confirm_attend']==1&&$_smarty_tpl->tpl_vars['programesetting']->value->confirm_attend==1){?> style="background-color: #d0f09f !important;"  
    <?php }elseif($_smarty_tpl->tpl_vars['value']->value['confirm_attend']==2&&$_smarty_tpl->tpl_vars['programesetting']->value->confirm_attend==1){?> style="background-color: #d1a6d1 !important;"  
    <?php }elseif($_smarty_tpl->tpl_vars['value']->value['confirm_attend']==3&&$_smarty_tpl->tpl_vars['programesetting']->value->confirm_attend==1){?> style="background-color: #fd8591 !important;"  
    <?php }?>  >
    <td class="col-md-1 text-center  wds6">
        <span  style="font-weight: bold;" class="numSpan"> <?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</span>
    </td>
    <td class="col-md-4 wds30">
        <?php if ($_smarty_tpl->tpl_vars['value']->value['link']==-1||$_smarty_tpl->tpl_vars['value']->value['link']==''){?> 
        <a data-id="<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
" class="visitviewed"  data-link="<?php echo $_smarty_tpl->tpl_vars['value']->value['link'];?>
" >
            <?php echo $_smarty_tpl->tpl_vars['value']->value['patientName'];?>

        </a>
        <?php }else{ ?>
        <a data-id="<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
" class="visitviewed"  
           href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['value']->value['link'];?>
<?php echo $_smarty_tpl->tpl_vars['value']->value['patientID'];?>
">
            <?php echo $_smarty_tpl->tpl_vars['value']->value['patientName'];?>

        </a>
        <?php }?>

    </td>
    <td class="col-md-1">
        <span  class="vtype mp0" 
               style="border-radius: 0; border-right: 1px solid #333; border-left: 1px solid #333; height: auto;"><?php echo $_smarty_tpl->tpl_vars['value']->value['statusno'];?>
</span>
    </td>
    <td class="col-md-1 wds10">
        <span  class="vtype mp0" style="height: auto;"><?php echo $_smarty_tpl->tpl_vars['value']->value['visit_time'];?>
</span>
    </td>
    <td class="col-md-3 wds20">
        <span  class="vtype mp0" style="height: auto;"><?php echo $_smarty_tpl->tpl_vars['value']->value['doctorName'];?>
</span>
    </td>
    <td class="col-md-3">
        <span  class="vtype mp0" style="height: auto;"><?php echo $_smarty_tpl->tpl_vars['value']->value['detectionType'];?>
</span>
    </td>
</tr>
<?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
<?php } ?><?php }} ?>