<div class="card" style="margin-bottom: 1%;">
    <input type="hidden" id="urineInvest" 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; ">Physical Examination :  </h4>   
                                    </div>

                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Volume:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_volume"     class="form-control updateInvest  urine_volume"  
                                                     data-colName="volume"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_volume"   {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_volume as $data}
                                                <option value="{$data->id}" {if $inv->urine->volume ==    $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;">Aspect:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_aspect"     class="form-control updateInvest  urine_aspect" 
                                                     data-colName="aspect"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_aspect"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_aspect as $data}
                                                <option value="{$data->id}" {if $inv->urine->aspect ==    $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;">Color:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_color"     class="form-control updateInvest  urine_color" 
                                                     data-colName="color"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_color"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_color as $data}
                                                <option value="{$data->id}" {if $inv->urine->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;">Deposit:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_deposit"     class="form-control updateInvest  urine_deposit" 
                                                     data-colName="deposit"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_deposit"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_deposit as $data}
                                                <option value="{$data->id}" {if $inv->urine->deposit ==    $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;">Odor:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_odor"     class="form-control updateInvest  urine_odor" 
                                                     data-colName="odor"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_odor"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_odor as $data}
                                                <option value="{$data->id}" {if $inv->urine->odor ==    $data->id }selected{/if}>{$data->name}</option>
                                                {/foreach}
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>


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


                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Reaction:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_reaction"     class="form-control updateInvest  urine_reaction" 
                                                     data-colName="reaction"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_reaction"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_reaction as $data}
                                                <option value="{$data->id}" {if $inv->urine->reaction ==    $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;">Specific Gravity:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_gravity"     class="form-control updateInvest  urine_gravity" 
                                                     data-colName="gravity"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_gravity"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_gravity as $data}
                                                <option value="{$data->id}" {if $inv->urine->gravity ==    $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;">Protein:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_protein"     class="form-control updateInvest  urine_protein" 
                                                     data-colName="protein"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_protein"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_protein as $data}
                                                <option value="{$data->id}" {if $inv->urine->protein ==    $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;">Bilirubin:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_bilirubin"     class="form-control updateInvest  urine_bilirubin" 
                                                     data-colName="bilirubin"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_bilirubin"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_bilirubin as $data}
                                                <option value="{$data->id}" {if $inv->urine->bilirubin ==    $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;">Sugar:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_sugar"     class="form-control updateInvest  urine_sugar" 
                                                     data-colName="sugar"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_sugar"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_sugar as $data}
                                                <option value="{$data->id}" {if $inv->urine->sugar ==    $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;">Urobilinigen:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_urobilinigen"     class="form-control updateInvest  urine_urobilinigen" 
                                                     data-colName="urobilinigen"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_urobilinigen"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_urobilinigen as $data}
                                                <option value="{$data->id}" {if $inv->urine->urobilinigen ==    $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;">Acetone:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_acetone"     class="form-control updateInvest  urine_acetone" 
                                                     data-colName="acetone"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_acetone"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_acetone as $data}
                                                <option value="{$data->id}" {if $inv->urine->acetone ==    $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;">Leucocytes:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_leucocytes"     class="form-control updateInvest  urine_leucocytes" 
                                                     data-colName="leucocytes"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_leucocytes"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_leucocytes as $data}
                                                <option value="{$data->id}" {if $inv->urine->leucocytes ==    $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;">Nitrite:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_nitrite"     class="form-control updateInvest  urine_nitrite" 
                                                     data-colName="nitrite"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_nitrite"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_nitrite as $data}
                                                <option value="{$data->id}" {if $inv->urine->nitrite ==    $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;">Blood:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_blood"     class="form-control updateInvest  urine_blood" 
                                                     data-colName="blood"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_blood"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_blood as $data}
                                                <option value="{$data->id}" {if $inv->urine->blood ==    $data->id }selected{/if}>{$data->name}</option>
                                                {/foreach}
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                    </div>



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


                                    <div class="form-group col-md-6 " style=" float: left; ">
                                        <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Pus Cells:</label>
                                        <div class="col-md-2 wds23">
                                            <input type="text"  data-colName="pus"  class="form-control  notPop    updateInvest positivefloat   " 
                                                   value="{$inv->urine->pus}" data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}" 
                                                   id="urine_pus"  {if $archive == 1 } disabled="" {/if} >
                                        </div>
                                        <div class="col-md-2 wds4">
                                            - 
                                        </div>

                                        <div class="col-md-2 wds23">
                                            <input type="text"  data-colName="pus2"  class="form-control  notPop    updateInvest positivefloat   " 
                                                   value="{$inv->urine->pus2}" data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}" 
                                                   id="urine_pus2"  {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;">Amorphous:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_amorphous"     class="form-control updateInvest  urine_amorphous" 
                                                     data-colName="amorphous"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_amorphous"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_amorphous as $data}
                                                <option value="{$data->id}" {if $inv->urine->amorphous ==    $data->id }selected{/if}>{$data->name}</option>
                                                {/foreach}
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>
                                        <div class="col-md-2" style="float: right;">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_amorphous2"     class="form-control updateInvest  urine_amorphous2" 
                                                     data-colName="amorphous2"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_amorphous2"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_amorphous2 as $data}
                                                <option value="{$data->id}" {if $inv->urine->amorphous2 ==    $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;">R.B.Cs:</label>
                                        <div class="col-md-2 wds23">
                                            <input type="text"  data-colName="pbcs"  class="form-control  notPop    updateInvest positivefloat   " 
                                                   value="{$inv->urine->pbcs}" data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}" 
                                                   id="urine_pbcs"  {if $archive == 1 } disabled="" {/if} >
                                        </div>

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

                                        <div class="col-md-2 wds23">
                                            <input type="text"  data-colName="pbcs2"  class="form-control  notPop    updateInvest positivefloat   " 
                                                   value="{$inv->urine->pbcs2}" data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}" 
                                                   id="urine_pbcs2"  {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;">Ova:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_ova"     class="form-control updateInvest  urine_ova" 
                                                     data-colName="ova"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_ova"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_ova as $data}
                                                <option value="{$data->id}" {if $inv->urine->ova ==    $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="urine_epithelial"     class="form-control updateInvest  urine_epithelial" 
                                                     data-colName="epithelial"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_epithelial"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_epithelial as $data}
                                                <option value="{$data->id}" {if $inv->urine->epithelial ==    $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;">Trophazite:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_trophazite"     class="form-control updateInvest  urine_trophazite" 
                                                     data-colName="trophazite"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_trophazite"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_trophazite as $data}
                                                <option value="{$data->id}" {if $inv->urine->trophazite ==    $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;">Casts:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_casts"     class="form-control updateInvest  urine_casts" 
                                                     data-colName="casts"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_casts"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_casts as $data}
                                                <option value="{$data->id}" {if $inv->urine->casts ==    $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;">Mucus:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_mucus"     class="form-control updateInvest  urine_mucus" 
                                                     data-colName="mucus"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_mucus"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_mucus as $data}
                                                <option value="{$data->id}" {if $inv->urine->mucus ==    $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;"></label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_casts2"     class="form-control updateInvest  urine_casts2" 
                                                     data-colName="casts2"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_casts2"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_casts2 as $data}
                                                <option value="{$data->id}" {if $inv->urine->casts2 ==    $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;">Urine Artifacts:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_artifacts"     class="form-control updateInvest  urine_artifacts" 
                                                     data-colName="artifacts"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_artifacts"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_artifacts as $data}
                                                <option value="{$data->id}" {if $inv->urine->artifacts ==    $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;">Crystal:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_crystal"     class="form-control updateInvest  urine_crystal" 
                                                     data-colName="crystal"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_crystal"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_crystal as $data}
                                                <option value="{$data->id}" {if $inv->urine->crystal ==    $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;">Fungi:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_fungi"     class="form-control updateInvest  urine_fungi" 
                                                     data-colName="fungi"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_fungi"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_fungi as $data}
                                                <option value="{$data->id}" {if $inv->urine->fungi ==    $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;"></label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_crystal2"     class="form-control updateInvest  urine_crystal2" 
                                                     data-colName="crystal2"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_crystal2"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_crystal2 as $data}
                                                <option value="{$data->id}" {if $inv->urine->crystal2 ==    $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;">Bacteria:</label>
                                        <div class="col-md-6">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_bacteria"     class="form-control updateInvest  urine_bacteria" 
                                                     data-colName="bacteria"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_bacteria"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_bacteria as $data}
                                                <option value="{$data->id}" {if $inv->urine->bacteria ==    $data->id }selected{/if}>{$data->name}</option>
                                                {/foreach}
                                                <option value="-2" class="deleteoptincompo">حذف</option>
                                            </select>
                                        </div>

                                        <div class="col-md-2" style="float: right;">
                                            <select  select-default="1"    select-colName="name"    select-tableName="urine_bacteria2"     class="form-control updateInvest  urine_bacteria2" 
                                                     data-colName="bacteria2"   data-id="{$inv->urine->id}"  data-tableName="{$inv->tableName}"
                                                     id="urine_bacteria2"  {if $archive == 1 } disabled="" {/if} >
                                                     <option value=""></option>
                                                {foreach $urine_bacteria2 as $data}
                                                <option value="{$data->id}" {if $inv->urine->bacteria2 ==    $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; ">
                                        <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->urine->id}" data-colName="comment" 
                                                      data-tableName="{$inv->tableName}" placeholder="Enter more text">
                                                {$inv->urine->comment}
                                            </textarea>
                                        </div>
                                    </div>


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

</div>