<?php /* Smarty version Smarty-3.1.11, created on 2024-08-14 18:48:20
         compiled from "../views/obgy/lab/labs/labs_3.html" */ ?>
<?php /*%%SmartyHeaderCode:1937630666bcd1c4f085d6-55979041%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0ef49374cd57801903afcdfdd47636cc45df1fcd' => 
    array (
      0 => '../views/obgy/lab/labs/labs_3.html',
      1 => 1714872703,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1937630666bcd1c4f085d6-55979041',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'inv' => 0,
    'patientNo' => 0,
    'hosturl' => 0,
    'paid' => 0,
    'archive' => 0,
    'stool_color' => 0,
    'data' => 0,
    'stool_consistency' => 0,
    'stool_reaction' => 0,
    'stool_food' => 0,
    'stool_odor' => 0,
    'stool_blood' => 0,
    'stool_mucus' => 0,
    'stool_prog' => 0,
    'stool_prog2' => 0,
    'stool_trophozoite' => 0,
    'stool_trophozoite2' => 0,
    'stool_flagellates' => 0,
    'stool_trophozoite3' => 0,
    'stool_flagellates2' => 0,
    'stool_cysts' => 0,
    'stool_ciliate' => 0,
    'stool_cysts2' => 0,
    'stool_undigested' => 0,
    'stool_undigested2' => 0,
    'stool_ova' => 0,
    'stool_undigested3' => 0,
    'stool_ova2' => 0,
    'stool_undigested4' => 0,
    'stool_larva' => 0,
    'stool_parasitology' => 0,
    'stool_larva2' => 0,
    'stool_parasitology2' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66bcd1c53a5805_61261361',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66bcd1c53a5805_61261361')) {function content_66bcd1c53a5805_61261361($_smarty_tpl) {?><div class="card" style="margin-bottom: 1%;">
    <input type="hidden" id="stoolInvest" value="1" />


    <div class="card-header txtl">
        <div class="fright wds100">
            <table class="table" style="width: 100%">
                <tbody>
                    <tr>
                        <td rowspan="2">   
                            <span style="float: left;">
                                <input type="checkbox"  class="checkGroup" value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" name="invCheck[]">
                            </span>

                            <a class="card-link fleft" data-toggle="collapse" href="#invDiv<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
">
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>

                            </a>




                            <div class="col-md-1  fright">
                                <a class="btn btn-xs  bg-green-haze  printResultsOne "  data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"   
                                   href="javascript:;"   > <i class="fa fa-print"></i> 
                                </a>
                            </div>   

                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdfNos>0){?>
                            <div class="col-md-1 wds5  fright">
                                <a href="#"  class="btn green-jungle btn-xs"
                                   onclick="document.getElementById('invPdf1_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
').click(); return false;" >
                                    <i class="fa fa-upload"></i> 1   </a>
                                <input type="file" name="invPdf1_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  id="invPdf1_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                       class=" form-control addInvPdf" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-no="1" style="visibility:hidden;height: 9px;"  >


                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdf!=''&&$_smarty_tpl->tpl_vars['inv']->value->pdf!='.'&&$_smarty_tpl->tpl_vars['inv']->value->pdf!=null&&$_smarty_tpl->tpl_vars['inv']->value->pdf!='no image'){?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_1_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/inv_pdf/<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['inv']->value->pdf;?>
" id="pdf1Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" >
                                    <i class="fa fa-download"></i> 1
                                </a>

                                <?php }else{ ?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_1_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   id="pdf1Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" style="display: none;" >
                                    <i class="fa fa-download"></i> 1
                                </a>
                                <?php }?>
                                <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/loading.gif" id="talks-loading<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
_1" style="display: none;">
                            </div>

                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdfNos>1){?>
                            <div class="col-md-1  wds5  fright">
                                <a href="#"  class="btn green-jungle btn-xs"
                                   onclick="document.getElementById('invPdf2_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
').click(); return false;" >
                                    <i class="fa fa-upload"></i>  2  </a>
                                <input type="file" name="invPdf2_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  id="invPdf2_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                       class=" form-control addInvPdf" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-no="2" style="visibility:hidden;height: 9px;"  >

                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdf2!=''&&$_smarty_tpl->tpl_vars['inv']->value->pdf2!='.'&&$_smarty_tpl->tpl_vars['inv']->value->pdf2!=null&&$_smarty_tpl->tpl_vars['inv']->value->pdf2!='no image'){?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_2_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/inv_pdf/<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['inv']->value->pdf2;?>
" id="pdf2Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" >
                                    <i class="fa fa-download"></i> 2
                                </a>

                                <?php }else{ ?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_2_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   id="pdf2Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" style="display: none;" >
                                    <i class="fa fa-download"></i> 2
                                </a>
                                <?php }?>
                                <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/loading.gif" id="talks-loading<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
_2" style="display: none;">
                            </div>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdfNos>2){?>
                            <div class="col-md-1 wds5   fright">
                                <a href="#"  class="btn green-jungle btn-xs"
                                   onclick="document.getElementById('invPdf3_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
').click(); return false;" >
                                    <i class="fa fa-upload"></i>  3 </a>
                                <input type="file" name="invPdf3_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  id="invPdf3_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                       class=" form-control addInvPdf" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-no="3" style="visibility:hidden;height: 9px;"  >

                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdf3!=''&&$_smarty_tpl->tpl_vars['inv']->value->pdf3!='.'&&$_smarty_tpl->tpl_vars['inv']->value->pdf3!=null&&$_smarty_tpl->tpl_vars['inv']->value->pdf3!='no image'){?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_3_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/inv_pdf/<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['inv']->value->pdf3;?>
" id="pdf3Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" >
                                    <i class="fa fa-download"></i> 3
                                </a>

                                <?php }else{ ?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_3_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   id="pdf3Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" style="display: none;" >
                                    <i class="fa fa-download"></i> 3
                                </a>
                                <?php }?>
                                <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/loading.gif" id="talks-loading<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
_3" style="display: none;">
                            </div>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdfNos>3){?>
                            <div class="col-md-1 wds5  fright">
                                <a href="#"  class="btn green-jungle btn-xs"
                                   onclick="document.getElementById('invPdf4_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
').click(); return false;" >
                                    <i class="fa fa-upload"></i>  4 </a>
                                <input type="file" name="invPdf4_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  id="invPdf4_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                       class=" form-control addInvPdf" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-no="4" style="visibility:hidden;height: 9px;"  >

                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdf4!=''&&$_smarty_tpl->tpl_vars['inv']->value->pdf4!='.'&&$_smarty_tpl->tpl_vars['inv']->value->pdf4!=null&&$_smarty_tpl->tpl_vars['inv']->value->pdf4!='no image'){?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_4_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/inv_pdf/<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['inv']->value->pdf4;?>
" id="pdf4Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" >
                                    <i class="fa fa-download"></i> 4
                                </a>

                                <?php }else{ ?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_4_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   id="pdf4Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" style="display: none;" >
                                    <i class="fa fa-download"></i> 4
                                </a>
                                <?php }?>
                                <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/loading.gif" id="talks-loading<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
_4" style="display: none;">
                            </div>

                            <?php }?>

                            <?php }?>

                            <?php }?>

                            <?php }?>

                            <div class="col-md-2 filledName mL5 fright" >   (By :   <?php echo $_smarty_tpl->tpl_vars['inv']->value->filledName;?>
  ) </div>    
                            <div class="col-md-2 sampleNo mL5 fright" >   (Sample No :   <?php echo $_smarty_tpl->tpl_vars['inv']->value->sampleNo;?>
  ) </div>  

                        </td>
                        <th class="wds5 txtc"> F </th>
                        <th class="wds5 txtc"> V </th>
                        <th class="wds5 txtc"> P </th>
                        <th class="wds5 txtc"> D </th>
                        <td class="wds5 txtc"> S </td>
                    </tr>

                    <tr>
                        <td>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->filled==1){?>
                            <i class="fa fa-check  invStatusChange"   data-colName="filled"  data-val="0" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"    id="invFilled<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               style="color: #119866;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }else{ ?>
                            <i class="fa fa-times invStatusChange"   data-colName="filled"    data-val="1" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"    id="invFilled<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }?>
                        </td>

                        <td>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->verified==1){?>
                            <i class="fa fa-check invStatusChange"   data-colName="verified"   data-val="0"  
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               style="color: #119866;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }else{ ?>
                            <i class="fa fa-times invStatusChange"   data-colName="verified"    data-val="1" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }?>
                        </td>

                        <td>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->printed==1){?>
                            <i class="fa fa-check invStatusChange"    data-colName="printed"    data-val="0"      id="invPrinted<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               style="color: #119866;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }else{ ?>
                            <i class="fa fa-times invStatusChange"    data-colName="printed"    data-val="1"      id="invPrinted<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }?>
                        </td>

                        <td>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->delivered==1){?>
                            <i class="fa fa-check invReDeliver "     data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  data-paid="<?php echo $_smarty_tpl->tpl_vars['paid']->value;?>
"  data-val="1" 
                               style="color: #119866;font-size: 20px;margin-top: 5%;"></i> 
                            <?php }else{ ?>
                            <i class="fa fa-times invStatusChange"    data-colName="delivered"    data-val="1" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  data-paid="<?php echo $_smarty_tpl->tpl_vars['paid']->value;?>
" 
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }?>
                        </td>

                        <td>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->sent==1){?>
                            <i class="fa fa-check invStatusChange"  data-colName="sent"    data-val="0" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"    
                               style="color: #119866;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }else{ ?>
                            <i class="fa fa-times invStatusChange"    data-colName="sent"    data-val="1" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }?>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            <div class="form-group collapse  " data-parent="#accordion" style=" width: 100%; float: left;   border-bottom:1px solid black;  margin: 5px;padding-bottom: 5px;" id="invDiv<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
">
                                <div class="card-body">


                                    <div class="form-group col-md-4 " style="margin-left: 30%;">
                                        <h4 style="font-weight: bold;background: #DDD;padding:5px; ">Physical Examination :  </h4>   
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Color:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_color"     class="form-control updateInvest  stool_color" 
                                                     data-colName="color"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_color"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_color']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->color==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Consistency:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_consistency"     class="form-control updateInvest  stool_consistency" 
                                                     data-colName="consistency"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_consistency"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_consistency']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->consistency==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Reaction:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_reaction"     class="form-control updateInvest  stool_reaction" 
                                                     data-colName="reaction"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_reaction"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_reaction']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->reaction==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Food Particles:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_food"     class="form-control updateInvest  stool_food" 
                                                     data-colName="food"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_food"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_food']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->food==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Odor:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_odor"     class="form-control updateInvest  stool_odor" 
                                                     data-colName="odor"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_odor"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_odor']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->odor==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Blood:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_blood"     class="form-control updateInvest  stool_blood" 
                                                     data-colName="blood"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_blood"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_blood']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->blood==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Mucus :</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_mucus"     class="form-control updateInvest  stool_mucus" 
                                                     data-colName="mucus"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_mucus"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_mucus']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->mucus==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-4 " style="margin-left: 30%;">
                                        <h4 style="font-weight: bold;background: #DDD;padding:5px; ">Microscopic  Examination :  </h4>   
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">WBCs:</label>
                                        <div class="col-md-2 wds23">
                                            <input type="text"  data-colName="wbc"  class="form-control  notPop    updateInvest positivefloat   " 
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->wbc;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
" 
                                                   id="stool_wbc"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                        </div>
                                        <div class="col-md-2 wds4">
                                            - 
                                        </div>

                                        <div class="col-md-2 wds23">
                                            <input type="text"  data-colName="wbc2"  class="form-control  notPop    updateInvest positivefloat   " 
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->wbc2;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
" 
                                                   id="stool_wbc2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >         
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Proglottids:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_prog"     class="form-control updateInvest  stool_prog" 
                                                     data-colName="prog"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_prog"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_prog']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->prog==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">RBCs:</label>
                                        <div class="col-md-2 wds23">
                                            <input type="text"  data-colName="rbc"  class="form-control  notPop    updateInvest positivefloat   " 
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->rbc;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
" 
                                                   id="stool_rbc"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >

                                        </div>
                                        <div class="col-md-2 wds4">
                                            - 
                                        </div>

                                        <div class="col-md-2 wds23">
                                            <input type="text"  data-colName="rbc2"  class="form-control  notPop    updateInvest positivefloat   " 
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->rbc2;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
" 
                                                   id="stool_rbc2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;"></label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_prog2"     class="form-control updateInvest  stool_prog2" 
                                                     data-colName="prog2"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_prog2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_prog2']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->prog2==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Trophozoite:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_trophozoite"     class="form-control updateInvest  stool_trophozoite" 
                                                     data-colName="trophozoite"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_trophozoite"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_trophozoite']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->trophozoite==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>

                                        <div class="col-md-2" style="float: right;">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_trophozoite2"     class="form-control updateInvest  stool_trophozoite2" 
                                                     data-colName="trophozoite2"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_trophozoite2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_trophozoite2']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->trophozoite2==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>


                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Flagellates:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_flagellates"     class="form-control updateInvest  stool_flagellates" 
                                                     data-colName="flagellates"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_flagellates"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_flagellates']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->flagellates==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;"></label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_trophozoite3"     class="form-control updateInvest  stool_trophozoite3" 
                                                     data-colName="trophozoite3"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_trophozoite3"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_trophozoite3']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->trophozoite3==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;"></label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_flagellates2"     class="form-control updateInvest  stool_flagellates2" 
                                                     data-colName="flagellates2"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_flagellates2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_flagellates2']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->flagellates2==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Cysts:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_cysts"     class="form-control updateInvest  stool_cysts" 
                                                     data-colName="cysts"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_cysts"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_cysts']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->cysts==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Ciliate:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_ciliate"     class="form-control updateInvest  stool_ciliate" 
                                                     data-colName="ciliate"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_ciliate"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_ciliate']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->ciliate==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;"></label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_cysts2"     class="form-control updateInvest  stool_cysts2" 
                                                     data-colName="cysts2"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_cysts2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_cysts2']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->cysts2==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Undigested Food:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_undigested"     class="form-control updateInvest  stool_undigested" 
                                                     data-colName="undigested"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_undigested"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_undigested']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->undigested==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>

                                        <div class="col-md-2" style="float: right;">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_undigested2"     class="form-control updateInvest  stool_undigested2" 
                                                     data-colName="undigested2"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_undigested2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_undigested2']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->undigested2==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>


                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Ova:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_ova"     class="form-control updateInvest  stool_ova" 
                                                     data-colName="ova"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_ova"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_ova']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->ova==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;"></label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_undigested3"     class="form-control updateInvest  stool_undigested3" 
                                                     data-colName="undigested3"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_undigested3"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_undigested3']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->undigested3==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;"></label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_ova2"     class="form-control updateInvest  stool_ova2" 
                                                     data-colName="ova2"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_ova2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_ova2']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->ova2==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;"></label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_undigested4"     class="form-control updateInvest  stool_undigested4" 
                                                     data-colName="undigested4"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_undigested4"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_undigested4']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->undigested4==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Larva:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_larva"     class="form-control updateInvest  stool_larva" 
                                                     data-colName="larva"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_larva"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_larva']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->larva==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Parasitology Artifacts: :</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_parasitology"     class="form-control updateInvest  stool_parasitology" 
                                                     data-colName="parasitology"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_parasitology"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_parasitology']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->parasitology==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;"></label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_larva2"     class="form-control updateInvest  stool_larva2" 
                                                     data-colName="larva2"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_larva2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_larva2']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->larva2==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;"></label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="stool_parasitology2"     class="form-control updateInvest  stool_parasitology2" 
                                                     data-colName="parasitology2"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                     id="stool_parasitology2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                     <option value=""></option>
                                                <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['stool_parasitology2']->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 if ($_smarty_tpl->tpl_vars['inv']->value->stool->parasitology2==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                <?php } ?>
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-12 " style=" float: left; ">
                                        <label class="col-md-2 control-label bold txtl" style=" font-size: 16px;"> Comment </label>
                                        <div class="col-md-10">
                                            <textarea class="form-control updateInvest txtc notPop" rows="2" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->id;?>
" data-colName="comment" 
                                                      data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
" placeholder="Enter more text" >
                                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->stool->comment;?>

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




                                </div>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>


</div><?php }} ?>