<?php /* Smarty version Smarty-3.1.11, created on 2024-08-28 06:14:31
         compiled from "../views/obgy/addinvestigation/show.html" */ ?>
<?php /*%%SmartyHeaderCode:116016404066cf22b79eb887-77391393%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '347557aca8f8208985eb559b87113bf5b366082a' => 
    array (
      0 => '../views/obgy/addinvestigation/show.html',
      1 => 1542464108,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '116016404066cf22b79eb887-77391393',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'allInv' => 0,
    'inv' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66cf22b7a3ea78_14538565',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66cf22b7a3ea78_14538565')) {function content_66cf22b7a3ea78_14538565($_smarty_tpl) {?>
<div class="page-content-wrapper">
    <div class="page-content all">
        <div class="row">
            <div class="col-md-12">
                <div class="portlet box blue">
                    <div class="portlet-title" style="height: 5px">
                        <div class="caption">
                            <i class="fa fa-edit"></i> Investigation Category
                        </div>
                        <div class="actions">
                            <a href="javascript:;" class="btn btn-default btn-sm" id="invCat_add">
                                <i class="fa fa-plus"></i> Add New  </a>
                        </div>
                       
                        
                        
                         
                        
                        
                    </div>
                    <div class="portlet-body" >
                        <div class="table-toolbar">
                            
                        </div>
                        <table class="table table-striped table-hover table-bordered" id="invCat">
                            <thead>
                                <tr>
                                    <th>
                                        Investigation Category
                                    </th>
                                    <th>
                                        Investigations
                                    </th>
                                    <th>
                                        Edit
                                    </th>
                                    <th>
                                        Delete
                                    </th>
                                </tr>
                            </thead>
                            <tbody>
                        
                                <?php  $_smarty_tpl->tpl_vars['inv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allInv']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inv']->key => $_smarty_tpl->tpl_vars['inv']->value){
$_smarty_tpl->tpl_vars['inv']->_loop = true;
?>
                                <tr>
                                  
                                    <td>
                                        <input type="text" class="form-control updateElement invCatName" id="cat<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" disabled=""  data-colName="name" data-tableName="investcats"  value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
"/>
                                    </td>
                                    <td>
                                        <a class="btn green btn-xs showInv" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" style=" float: left;" href="#" >
                                            <i class="fa fa-pencil"></i> Show
                                        </a>
                                    </td>
                                    <td>
                                        <a class="btn grey-cascade btn-xs editCat" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" style=" float: left;" href="#" >
                                            <i class="fa fa-pencil"></i>
                                        </a>
                                    </td>
                                    <td>
                                        <?php if ($_smarty_tpl->tpl_vars['inv']->value->displayorder!=0){?>
                                        <a class="btn grey-cascade btn-xs deletemsgEX" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" style=" float: left;" href="#" data-link="addinvestigation" data-fn="del" data-tableName="investcats">
                                            <i class="fa fa-close"></i>
                                        </a><?php }?>
                                    </td>
                                </tr> 
                        
                                <?php } ?>
                            </tbody>
                        </table>

 

                    </div>
                </div>
            </div>
        </div>
    </div>

</div>

<input type="hidden" id="controllName" value="addinvestigation"/>




 
 <!----#########################################################################  model ##############################################################################################################--->
 <div class="all">
 <!--------------------------------------------------------------------------- simple form Ultrasound Model-------------------------------------------------------------------------------------->
  <div class="modal fade" tabindex="-1" role="dialog" aria-hidden="false" data-backdrop="static" data-keyboard="false"   id="investsModel" style="min-width:1000px;">
          <div class="modal-dialog  modal-lg wds65">
              <div class="modal-content">
              <div class="modal-header">
                  <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title">  </h4>
              </div>
              <div class="modal-body">
                <div class="portlet-body form">
                  <div class="row">
                    <div class="col-md-12">
                      <div class="portlet blue-hoki box">
                        
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-cogs"></i> Investigations
                        </div>
                        <div class="actions">
                            <a href="javascript:;" class="btn btn-default btn-sm" id="invest_add">
                                <i class="fa fa-plus"></i> Add </a>
                            
                        </div>
                    </div>
                        <div class="portlet-body">
                          
                        <table class="table table-striped table-hover table-bordered" id="invests" >
                            <thead>
                                <tr>
                                    <th>
                                        Investigations
                                    </th>
                                    <th>
                                        Favorite
                                    </th>
                                    <th>
                                        Edit
                                    </th>
                                    <th>
                                        Delete
                                    </th>
                                </tr>

                            </thead>
                            <tbody id="showCatInv">
                                
                            </tbody>
                        </table>
                            <input type="hidden" id="catId" value=""/>
                      </div>
                    </div>
                  </div>
                  <div class="modal-footer">
               
                    <button type="button" class="btn default" id="closemodel" data-dismiss="modal"> Close</button>

                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        </div>
 
 
 
 
 <!-------------##############################-------------------- End of Models -----------------------#########################################-------------->
  </div><?php }} ?>