<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="{$inv->id}" name="invCheck[]">
                            </span>

                            <a class="card-link fleft" data-toggle="collapse" href="#invDiv{$inv->id}">
                                {$inv->invname}
                            </a>




                            <div class="col-md-1  fright">
                                <a class="btn btn-xs  bg-green-haze  printResultsOne "  data-id="{$inv->id}"   
                                   href="javascript:;"   > <i class="fa fa-print"></i> 
                                </a>
                            </div>   

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


                                {if  $inv->pdf != ''  &&  $inv->pdf != '.'  &&  $inv->pdf != Null &&  $inv->pdf != 'no image'  }
                                <a class=" btn  btn-xs blue" download="{$inv->invname}_1_{$patientNo}"
                                   href="{$hosturl}/../upload/inv_pdf/{$patientNo}/{$inv->pdf}" id="pdf1Download{$inv->id}" >
                                    <i class="fa fa-download"></i> 1
                                </a>

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

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

                                {if  $inv->pdf2 != ''  &&  $inv->pdf2 != '.'  &&  $inv->pdf2 != Null &&  $inv->pdf2 != 'no image'  }
                                <a class=" btn  btn-xs blue" download="{$inv->invname}_2_{$patientNo}"
                                   href="{$hosturl}/../upload/inv_pdf/{$patientNo}/{$inv->pdf2}" id="pdf2Download{$inv->id}" >
                                    <i class="fa fa-download"></i> 2
                                </a>

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

                                {if  $inv->pdf3 != ''  &&  $inv->pdf3 != '.'  &&  $inv->pdf3 != Null &&  $inv->pdf3 != 'no image'  }
                                <a class=" btn  btn-xs blue" download="{$inv->invname}_3_{$patientNo}"
                                   href="{$hosturl}/../upload/inv_pdf/{$patientNo}/{$inv->pdf3}" id="pdf3Download{$inv->id}" >
                                    <i class="fa fa-download"></i> 3
                                </a>

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

                                {if  $inv->pdf4 != ''  &&  $inv->pdf4 != '.'  &&  $inv->pdf4 != Null &&  $inv->pdf4 != 'no image'  }
                                <a class=" btn  btn-xs blue" download="{$inv->invname}_4_{$patientNo}"
                                   href="{$hosturl}/../upload/inv_pdf/{$patientNo}/{$inv->pdf4}" id="pdf4Download{$inv->id}" >
                                    <i class="fa fa-download"></i> 4
                                </a>

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

                            {/if}

                            {/if}

                            {/if}

                            {/if}


                            <div class="col-md-2 filledName mL5 fright" >   (By :   {$inv->filledName}  ) </div>    
                            <div class="col-md-2 sampleNo mL5 fright" >   (Sample No :   {$inv->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>
                            {if  $inv->filled == 1 }
                            <i class="fa fa-check  invStatusChange"   data-colName="filled"  data-val="0" 
                               data-id="{$inv->id}"    id="invFilled{$inv->id}" 
                               style="color: #119866;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            {else}
                            <i class="fa fa-times invStatusChange"   data-colName="filled"    data-val="1" 
                               data-id="{$inv->id}"    id="invFilled{$inv->id}" 
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            {/if}
                        </td>

                        <td>
                            {if  $inv->verified == 1 }
                            <i class="fa fa-check invStatusChange"   data-colName="verified"   data-val="0"  
                               data-id="{$inv->id}" 
                               style="color: #119866;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            {else}
                            <i class="fa fa-times invStatusChange"   data-colName="verified"    data-val="1" 
                               data-id="{$inv->id}"  
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            {/if}
                        </td>

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

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

                        <td>
                            {if  $inv->sent == 1 }
                            <i class="fa fa-check invStatusChange"  data-colName="sent"    data-val="0" 
                               data-id="{$inv->id}"    
                               style="color: #119866;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            {else}
                            <i class="fa fa-times invStatusChange"    data-colName="sent"    data-val="1" 
                               data-id="{$inv->id}"  
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            {/if}
                        </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{$inv->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="{$inv->semen->volume}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_volume{$inv->id}" data-invResId="{$inv->id}"   {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->id}"  data-tableName="{$inv->tableName}"    id="semen_viscosity{$inv->id}"
                                                     {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $semen_viscosity as $data}
                                                <option value="{$data->id}" {if $inv->semen->viscosity ==    $data->id }selected{/if}>{$data->name}</option>
                                                {/foreach}
                                                <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="{$inv->semen->ph}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_ph{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->liq_time}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_liq_time{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->id}"  data-tableName="{$inv->tableName}"    id="semen_color"
                                                     {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $semen_color as $data}
                                                <option value="{$data->id}" {if $inv->semen->color ==    $data->id }selected{/if}>{$data->name}</option>
                                                {/foreach}
                                                <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="{$inv->semen->liq_state}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_liq_state{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->odor}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_odor{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->sperm_count}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_sperm_count{$inv->id}" data-invResId="{$inv->id}"    {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->total_count}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_total_count{$inv->id}"  readonly  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->mobility_a}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_mobility_a{$inv->id}" data-invResId="{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->mobility_c}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_mobility_c{$inv->id}" data-invResId="{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->mobility_sluggish}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_mobility_sluggish{$inv->id}" data-invResId="{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->mobility_b}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_mobility_b{$inv->id}"  data-invResId="{$inv->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="{$inv->semen->mobility_d}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_mobility_d{$inv->id}"  readonly {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->normal_form}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_normal_form{$inv->id}"  data-invResId="{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->ab_form}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_ab_form{$inv->id}"  data-invResId="{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->vitality}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_vitality{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->pinheads}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_pinheads{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->pus}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_pus{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->rbc}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_rbc{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->id}"  data-tableName="{$inv->tableName}"    id="semen_sperm_cells{$inv->id}"
                                                     {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $semen_sperm_cells as $data}
                                                <option value="{$data->id}" {if $inv->semen->sperm_cells ==    $data->id }selected{/if}>{$data->name}</option>
                                                {/foreach}
                                                <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="{$inv->semen->id}"  data-tableName="{$inv->tableName}"    id="semen_epith_cells{$inv->id}"
                                                     {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $semen_epith_cells as $data}
                                                <option value="{$data->id}" {if $inv->semen->epith_cells ==    $data->id }selected{/if}>{$data->name}</option>
                                                {/foreach}
                                                <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="{$inv->semen->mobility_percent}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_mobility_percent{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->coll_location}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_coll_location{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->abestination}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_abestination{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->coll_method}" data-id="{$inv->semen->id}"  data-tableName="{$inv->tableName}"
                                                   id="semen_coll_method{$inv->id}"  {if $archive == 1 } disabled="" {/if} >
                                        </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="{$inv->semen->id}"  data-tableName="{$inv->tableName}"    id="semen_aggregation{$inv->id}"
                                                     {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $semen_aggregation as $data}
                                                <option value="{$data->id}" {if $inv->semen->aggregation ==    $data->id }selected{/if}>{$data->name}</option>
                                                {/foreach}
                                                <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="{$inv->semen->id}"  data-tableName="{$inv->tableName}"    id="semen_agg{$inv->id}"
                                                     {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $semen_agg as $data}
                                                <option value="{$data->id}" {if $inv->semen->agg ==    $data->id }selected{/if}>{$data->name}</option>
                                                {/foreach}
                                                <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="{$inv->semen->id}" 
                                                      data-colName="comment"    data-tableName="{$inv->tableName}"
                                                      placeholder="Enter more text" >
                                                {$inv->semen->comment}
                                            </textarea>
                                        </div>
                                    </div>

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

</div>