<?php /* Smarty version Smarty-3.1.11, created on 2024-10-30 21:45:34
         compiled from "../views/obgy/lab/labs/labs_16.html" */ ?>
<?php /*%%SmartyHeaderCode:130015149266c38d11c27cc2-09824317%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '669ae7b5196151bce30baf4bd82e085a7bfa657a' => 
    array (
      0 => '../views/obgy/lab/labs/labs_16.html',
      1 => 1730281754,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '130015149266c38d11c27cc2-09824317',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66c38d11f12153_42423381',
  'variables' => 
  array (
    'inv' => 0,
    'patientNo' => 0,
    'hosturl' => 0,
    'paid' => 0,
    'archive' => 0,
    'semen_viscosity' => 0,
    'data' => 0,
    'semen_color' => 0,
    'semen_sperm_cells' => 0,
    'semen_epith_cells' => 0,
    'semen_aggregation' => 0,
    'semen_agg' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66c38d11f12153_42423381')) {function content_66c38d11f12153_42423381($_smarty_tpl) {?><div class="card" style="margin-bottom: 1%;">
    <input type="hidden" id="semenInvest" 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; ">Semen Description :  </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;">Volume : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="volume"  class="form-control  notPop totalCount    updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->volume;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_volume<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-invResId="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"   <?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;">Viscosity : </label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="semen_viscosity"
                                                     class="form-control updateInvest  semen_viscosity"   data-colName="viscosity"
                                                     data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"    id="semen_viscosity<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                                     <?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['semen_viscosity']->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->semen->viscosity==$_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;">PH value : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="ph"  class="form-control  notPop    updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->ph;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_ph<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Liquefection Time : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="liq_time"  class="form-control  notPop    updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->liq_time;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_liq_time<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Color : </label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="semen_color"
                                                     class="form-control updateInvest  semen_color"   data-colName="color"
                                                     data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"    id="semen_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['semen_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->semen->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;">Liquefection State : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="liq_state"  class="form-control  notPop    updateInvest    "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->liq_state;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_liq_state<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Odor : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="odor"  class="form-control  notPop    updateInvest    "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->odor;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_odor<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                        </div>
                                    </div>


                                    <div class="form-group col-md-4 " style="margin-left: 30%;">
                                        <h4 style="font-weight: bold;background: #DDD;padding:5px; ">CONCENTERATION & MOTILITY ANALYSIS :  </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;">Concenteration /ml : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="sperm_count"  class="form-control  notPop totalCount   updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->sperm_count;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_sperm_count<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-invResId="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"    <?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;">Total Sperm : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="total_count"  class="form-control  notPop    updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->total_count;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_total_count<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  readonly  <?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;"> Progressive motility PR (A) : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="mobility_a"  class="form-control  notPop motilityCal   updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->mobility_a;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_mobility_a<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-invResId="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Non progressive NP (B) : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="mobility_c"  class="form-control  notPop  motilityCal   updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->mobility_c;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_mobility_c<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-invResId="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Sluggish motility  (C) : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="mobility_sluggish"  class="form-control  notPop  motilityCal   updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->mobility_sluggish;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_mobility_sluggish<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-invResId="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Total motility PR+NP  : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="mobility_b"  class="form-control  notPop   totalMotility   updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->mobility_b;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_mobility_b<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  data-invResId="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"   readonly >
                                        </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;">Immotile IM : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="mobility_d"  class="form-control  notPop    updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->mobility_d;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_mobility_d<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  readonly <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                        </div>
                                    </div>


                                    <div class="form-group col-md-4 " style="margin-left: 30%;">
                                        <h4 style="font-weight: bold;background: #DDD;padding:5px; ">SPERM MORPHOLOGY STUDY  :  </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;">Normal Sperm : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="normal_form"  class="form-control  notPop  sperms   updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->normal_form;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_normal_form<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  data-invResId="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Abnormal Sperm : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="ab_form"  class="form-control  notPop    updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->ab_form;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_ab_form<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  data-invResId="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Vitality : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="vitality"  class="form-control  notPop    updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->vitality;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_vitality<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Pinheads : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="pinheads"  class="form-control  notPop    updateInvest positivefloat   "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->pinheads;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_pinheads<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                        </div>
                                    </div>

                                    <div class="form-group col-md-4 " style="margin-left: 30%;">
                                        <h4 style="font-weight: bold;background: #DDD;padding:5px; ">Cells other than sperms Exam  :  </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;">White Blood Cells : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="pus"  class="form-control  notPop    updateInvest    "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->pus;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_pus<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Red Blood Cells : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="rbc"  class="form-control  notPop    updateInvest    "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->rbc;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_rbc<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Spermatogenic Cells : </label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="semen_sperm_cells"
                                                     class="form-control updateInvest  semen_sperm_cells"   data-colName="sperm_cells"
                                                     data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"    id="semen_sperm_cells<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                                     <?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['semen_sperm_cells']->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->semen->sperm_cells==$_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;">Epithelial Cells : </label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="semen_epith_cells"
                                                     class="form-control updateInvest  semen_epith_cells"   data-colName="epith_cells"
                                                     data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"    id="semen_epith_cells<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                                     <?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['semen_epith_cells']->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->semen->epith_cells==$_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: 14px !important; ">Others : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="mobility_percent"  class="form-control  notPop    updateInvest    "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->mobility_percent;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_mobility_percent<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                        </div>
                                    </div>


                                    <div class="form-group col-md-4 " style="margin-left: 30%;">
                                        <h4 style="font-weight: bold;background: #DDD;padding:5px; ">Collection Info  :  </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;">Coll. Location : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="coll_location"  class="form-control  notPop    updateInvest    "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->coll_location;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_coll_location<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Abestination : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="abestination"  class="form-control  notPop    updateInvest  positivefloat  "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->abestination;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_abestination<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?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;">Coll. Method : </label>
                                        <div class="col-md-6">
                                            <input type="text"  data-colName="coll_method"  class="form-control  notPop    updateInvest    "
                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->coll_method;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                   id="semen_coll_method<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                        </div>
                                    </div>


                                    <div class="form-group col-md-4 " style="margin-left: 30%;">
                                        <h4 style="font-weight: bold;background: #DDD;padding:5px; ">Agglutination & Aggregation :  </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;">Aggregation  : </label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="semen_aggregation"
                                                     class="form-control updateInvest  semen_aggregation"   data-colName="aggregation"
                                                     data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"    id="semen_aggregation<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                                     <?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['semen_aggregation']->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->semen->aggregation==$_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;">Agglutination : </label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="semen_agg"
                                                     class="form-control updateInvest  semen_agg"   data-colName="agg"
                                                     data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->semen->id;?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"    id="semen_agg<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                                     <?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['semen_agg']->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->semen->agg==$_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;margin-top :  5px; ">
                                        <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->semen->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->semen->comment;?>

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

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

</div><?php }} ?>