<div class="card" style="margin-bottom: 1%;">
    <input type="hidden" id="bPictureInvest" 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->hasPdf== 1 }



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

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

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



                        </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="5">
                            <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-12 " style=" float: left; margin-top: 5px; ">

                                        <label class="col-md-2 control-label bold txtl" style=" font-size: 16px;">Hgb  : </label>

                                        <div class="col-md-2">
                                            <input type="text"  class="form-control updateInvest blood bloodCalc  notPop    positivefloat" data-colName="hgb"  data-target="hgb"    
                                                   data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->hgb}"  id="hgb_blood"
                                                   data-level_d="13"   data-level="1"  {if $archive == 1 } disabled="" {/if} >
                                        </div>

                                        <div class="col-md-2">
                                            <input type="text"  data-colName="hgb_calc"  class="form-control  notPop    updateInvest positivefloat   " 
                                                   value="{$inv->blood->hgb_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                   id="hgb_calc"  {if $archive == 1 } disabled="" {/if} >
                                        </div>

                                        <div class="col-md-2">
                                            <input type="text" disabled="" id="hgb_level"  class="form-control  notPop   " value="   {if $inv->blood->hgb_low == 1 } L  {else if $inv->blood->hgb_high == 1 } H   {/if}  ">
                                        </div>

                                        <div class="col-md-4">
                                            <select        class="form-control select2h updateInvest blood" data-colName="hgb_rangeid" 
                                                           data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}"   data-target="hgb"   
                                                           id="hgb_rangeid" >
                                                <option value=""></option>
                                                {foreach  $inv->blood->hgb_ranges as $rang}
                                                <option value="{$rang->id}" {if $rang->id == $inv->blood->hgb_rangeid} selected {/if} > {$rang->range_txt}  {$rang->range_low} - {$rang->range_high}   {$rang->invest_units}</option>
                                                {/foreach}
                                            </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;">RBC : </label>

                                        <div class="col-md-2">
                                            <input type="text"  class="form-control updateInvest blood bloodCalc   notPop    positivefloat" data-colName="rbc"  data-target="rbc"    
                                                   data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->rbc}"  id="rbc_blood"
                                                   data-level_d="0"   data-level="2" {if $archive == 1 } disabled="" {/if} >
                                        </div>

                                        <div class="col-md-2">
                                            <input type="text"  data-colName="rbc_calc"  class="form-control updateInvest  notPop    positivefloat  " 
                                                   value="{$inv->blood->rbc_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                   id="rbc_calc"  {if $archive == 1 } disabled="" {/if} >
                                        </div>

                                        <div class="col-md-2">
                                            <input type="text" disabled="" id="rbc_level"  class="form-control  notPop   " value=" {if $inv->blood->rbc_range_txt == Null || $inv->blood->rbc_range_txt  == ''}   {if $inv->blood->rbc_low == 1 } L  {else if $inv->blood->rbc_high == 1 } H   {/if} {/if} ">
                                        </div>

                                        <div class="col-md-4">
                                            <select        class="form-control select2h updateInvest blood" data-colName="rbc_rangeid" 
                                                           data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}"   data-target="rbc"   
                                                           id="rbc_rangeid" >
                                                <option value=""></option>
                                                {foreach  $inv->blood->rbc_ranges as $rang}
                                                <option value="{$rang->id}" {if $rang->id == $inv->blood->rbc_rangeid} selected {/if} >{$rang->range_txt}  {$rang->range_low} - {$rang->range_high}   {$rang->invest_units}</option>
                                                {/foreach}
                                            </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;">WBC : </label>

                                        <div class="col-md-2">
                                            <input type="text"  class="form-control updateInvest blood positivefloat absCalcAll  notPop   " data-colName="wbc"  data-target="wbc"    
                                                   data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->wbc}"  id="wbc_blood"
                                                   data-level_d="3"   data-level="5" {if $archive == 1 } disabled="" {/if} >
                                        </div>

                                        <div class="col-md-2">
                                            <input type="text"  data-colName="wbc_calc"  class="form-control updateInvest   notPop    positivefloat  " 
                                                   value="{$inv->blood->wbc_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                   id="wbc_calc"   {if $archive == 1 } disabled="" {/if} >
                                        </div>

                                        <div class="col-md-2">
                                            <input type="text" disabled="" id="wbc_level"  class="form-control  notPop   " value=" {if $inv->blood->wbc_range_txt == Null || $inv->blood->wbc_range_txt  == ''}   {if $inv->blood->wbc_low == 1 } L  {else if $inv->blood->wbc_high == 1 } H   {/if} {/if} ">
                                        </div>

                                        <div class="col-md-4">
                                            <select        class="form-control select2h updateInvest blood" data-colName="wbc_rangeid" 
                                                           data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}"   data-target="wbc"   
                                                           id="wbc_rangeid" >
                                                <option value=""></option>
                                                {foreach  $inv->blood->wbc_ranges as $rang}
                                                <option value="{$rang->id}" {if $rang->id == $inv->blood->wbc_rangeid} selected {/if} >{$rang->range_txt}  {$rang->range_low} - {$rang->range_high}   {$rang->invest_units}</option>
                                                {/foreach}
                                            </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;">Plt : </label>

                                        <div class="col-md-2">
                                            <input type="text"  class="form-control updateInvest blood positivefloat  notPop   " data-colName="plt"  data-target="plt"    
                                                   data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->plt}"  id="plt_blood"
                                                   data-level_d="11"   data-level="13" {if $archive == 1 } disabled="" {/if} >
                                        </div>

                                        <div class="col-md-2">
                                            <input type="text"  data-colName="plt_calc"  class="form-control updateInvest  positivefloat   notPop    " 
                                                   value="{$inv->blood->plt_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                   id="plt_calc"  {if $archive == 1 } disabled="" {/if} >
                                        </div>

                                        <div class="col-md-2">
                                            <input type="text" disabled="" id="plt_level"  class="form-control  notPop   " value=" {if $inv->blood->plt_range_txt == Null || $inv->blood->plt_range_txt  == ''}   {if $inv->blood->plt_low == 1 } L  {else if $inv->blood->plt_high == 1 } H   {/if} {/if} ">
                                        </div>

                                        <div class="col-md-4">
                                            <select        class="form-control select2h updateInvest blood" data-colName="plt_rangeid" 
                                                           data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}"   data-target="plt"   
                                                           id="plt_rangeid" >
                                                <option value=""></option>
                                                {foreach  $inv->blood->plt_ranges as $rang}
                                                <option value="{$rang->id}" {if $rang->id == $inv->blood->plt_rangeid} selected {/if} >{$rang->range_txt}  {$rang->range_low} - {$rang->range_high}   {$rang->invest_units}</option>
                                                {/foreach}
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">
                                        <div class="form-group  wds35 " style=" float: left; margin-top: 5px; ">

                                        </div>
                                        <div class="form-group wds14 " style=" float: left; margin-top: 5px;margin-left: 4%; ">
                                            Relative Count
                                        </div>

                                        <div class="form-group wds17 " style=" float: left; margin-top: 5px;margin-left: 1%;">
                                            Absolute Count
                                        </div>

                                    </div>

                                    <div class="form-group col-md-3 " style=" float: left; margin-top: 5px; ">

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-6 control-label bold txtl" style=" font-size: 16px;">Hct : </label>

                                            <div class="col-md-3">
                                                <input type="text"  class="form-control updateInvest bloodCalc   notPop     positivefloat" data-colName="hct"  data-target="hct"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->hct}"  id="hct_blood"
                                                       data-level_d="1"   data-level="3" {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                            <div class="col-md-3">
                                                <input type="text"  data-colName="hct_calc"  class="form-control  notPop    updateInvest positivefloat  "  id="hct_calc" 
                                                       value="{$inv->blood->hct_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                        </div>


                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-6 control-label bold txtl" style=" font-size: 16px;">MCV : </label>

                                            <div class="col-md-3">
                                                <input type="text"  data-colName="mcv_calc"  class="form-control updateInvest   notPop   positivefloat  "   id="mcv_calc" 
                                                       value="{$inv->blood->mcv_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                       disabled="" >
                                            </div>

                                            <div class="col-md-3">
                                                <input type="text"  class="form-control updateInvest  positivefloat  notPop   " data-colName="mcv"  data-target="mcv"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->mcv}"  id="mcv_blood"
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                        </div>


                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-6 control-label bold txtl" style=" font-size: 16px;">MCH : </label>

                                            <div class="col-md-3">
                                                <input type="text"  data-colName="mch_calc"  class="form-control  notPop    updateInvest positivefloat  "   id="mch_calc" 
                                                       value="{$inv->blood->mch_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                       disabled="" >
                                            </div>

                                            <div class="col-md-3">
                                                <input type="text"  class="form-control updateInvest   notPop    positivefloat" data-colName="mch"  data-target="mch"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->mch}"  id="mch_blood"
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                        </div>


                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-6 control-label bold txtl" style=" font-size: 16px;">MCHC : </label>

                                            <div class="col-md-3">
                                                <input type="text"  data-colName="mchc_calc"  class="form-control   notPop   updateInvest positivefloat  "  id="mchc_calc"   
                                                       value="{$inv->blood->mchc_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                       disabled="" >
                                            </div>

                                            <div class="col-md-3">
                                                <input type="text"  class="form-control updateInvest   notPop    positivefloat" data-colName="mchc"  data-target="mchc"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->mchc}"  id="mchc_blood"
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                        </div>


                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-6 control-label bold txtl" style=" font-size: 16px;">RDW : </label>

                                            <div class="col-md-3">
                                                <input type="text"  class="form-control updateInvest  positivefloat  notPop   " data-colName="rdw"  data-target="rdw"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->rdw}"  id="rdw_blood"
                                                       data-level_d="2"   data-level="4" {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                            <div class="col-md-3">
                                                <input type="text"  data-colName="rdw_calc"  class="form-control updateInvest positivefloat  notPop     "  id="rdw_calc"   
                                                       value="{$inv->blood->rdw_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                        </div>


                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-6 control-label bold txtl" style=" font-size: 16px;">Hgb % : </label>

                                            <div class="col-md-3">
                                                <input type="text"  class="form-control updateInvest  positivefloat  notPop   " data-colName="hgbpercent"  data-target="hgbpercent"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->hgbpercent}"  id="hgbpercent_blood"
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                            <div class="col-md-3">
                                                <input type="text"  data-colName="hgbpercent_calc"  class="form-control updateInvest  positivefloat  notPop     "   id="hgbpercent_calc"    
                                                       value="{$inv->blood->hgbpercent_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                        </div>


                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-6 control-label bold txtl" style=" font-size: 16px;">Mentzer Index % : </label>

                                            <div class="col-md-3">
                                                <input type="text"  class="form-control updateInvest  positivefloat  notPop   " data-colName="mindex"  data-target="mindex"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->mindex}"  id="mindex_blood"
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                            <div class="col-md-3">
                                                <input type="text"  data-colName="mindex_calc"  class="form-control updateInvest positivefloat   notPop     "   id="mindex_calc"     
                                                       value="{$inv->blood->mindex_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                        </div>


                                    </div>


                                    <div class="form-group col-md-3 " style=" float: left; margin-top: 5px;    margin-left: 3%; ">


                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-5 control-label bold txtl" style=" font-size: 16px;">Neutrophil : </label>

                                            <div class="col-md-5">
                                                <input type="text"  class="form-control  positivefloat absCalc cells_calc  notPop    " data-colName="neutrophil_r"  
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->neutrophil_r}" 
                                                       data-level_d="4"   data-level="6"   id="neutrophil_r_blood" data-target="neutrophil_abs" {if $archive == 1 } disabled="" {/if}    >
                                            </div>

                                            <div class="col-md-2">
                                                <input type="text"   class="form-control   notPop   "  value="%"    disabled=""  >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-5 control-label bold txtl" style=" font-size: 16px;">Lymphocytes : </label>

                                            <div class="col-md-5">
                                                <input type="text"  class="form-control  positivefloat absCalc cells_calc   notPop   " data-colName="lymphocytes_r"  
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->lymphocytes_r}" 
                                                       data-level_d="7"   data-level="9"  id="lymphocytes_r_blood" data-target="lymphocytes_abs" {if $archive == 1 } disabled="" {/if}    >
                                            </div>

                                            <div class="col-md-2">
                                                <input type="text"   class="form-control  notPop    "  value="%"    disabled=""  >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-5 control-label bold txtl" style=" font-size: 16px;">Monocytes : </label>

                                            <div class="col-md-5">
                                                <input type="text"  class="form-control  positivefloat absCalc  cells_calc  notPop   " data-colName="monocytes_r"  
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->monocytes_r}" 
                                                       data-level_d="8"   data-level="10"   id="monocytes_r_blood" data-target="monocytes_abs" {if $archive == 1 } disabled="" {/if}    >
                                            </div>

                                            <div class="col-md-2">
                                                <input type="text"   class="form-control  notPop   "  value="%"    disabled=""  >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-5 control-label bold txtl" style=" font-size: 16px;">Eosinophils : </label>

                                            <div class="col-md-5">
                                                <input type="text"  class="form-control  positivefloat absCalc cells_calc  notPop    " data-colName="eosinophils_r"  
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->eosinophils_r}" 
                                                       data-level_d="9"   data-level="11"   id="eosinophils_r_blood" data-target="eosinophils_abs" {if $archive == 1 } disabled="" {/if}    >
                                            </div>

                                            <div class="col-md-2">
                                                <input type="text"   class="form-control  notPop    "  value="%"    disabled=""  >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-5 control-label bold txtl" style=" font-size: 16px;">Basophils : </label>

                                            <div class="col-md-5">
                                                <input type="text"  class="form-control  positivefloat absCalc cells_calc  notPop    " data-colName="basophils_r"  
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->basophils_r}" 
                                                       data-level_d="10"   data-level="12"  id="basophils_r_blood" data-target="basophils_abs" {if $archive == 1 } disabled="" {/if}    >
                                            </div>

                                            <div class="col-md-2">
                                                <input type="text"   class="form-control  notPop    "  value="%"    disabled=""  >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-5 control-label bold txtl" style=" font-size: 16px;">Other Cells : </label>

                                            <div class="col-md-7">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="othercells"  
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->othercells}" 
                                                       id="othercells_blood" disabled=""  >
                                            </div>
                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-5 control-label bold txtl" style=" font-size: 16px;">Segmented  : </label>

                                            <div class="col-md-5">
                                                <input type="text"  class="form-control  positivefloat   notPop    " data-colName="segmented"  
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->segmented}" 
                                                       data-level_d="5"   data-level="7"  id="segmented_blood"  {if $archive == 1 } disabled="" {/if}    >
                                            </div>
                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-5 control-label bold txtl" style=" font-size: 16px;">Band  : </label>

                                            <div class="col-md-5">
                                                <input type="text"  class="form-control  positivefloat   notPop    " data-colName="band"  
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->band}" 
                                                       data-level_d="6"   data-level="8"  id="band_blood"  {if $archive == 1 } disabled="" {/if}    >
                                            </div>
                                        </div>


                                    </div>

                                    <div class="form-group col-md-2 " style=" float: left; margin-top: 5px;     margin-left: 1%;">

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">
                                            <div class="col-md-8">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="neutrophil_abs"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->neutrophil_abs}" 
                                                       id="neutrophil_abs_blood"    disabled=""   >
                                            </div>

                                            <div class="col-md-4">
                                                <input type="text"   class="form-control  notPop    "  value="K/uL"    disabled=""  >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">
                                            <div class="col-md-8">
                                                <input type="text"  class="form-control updateInvest positivefloat   notPop   " data-colName="lymphocytes_abs"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->lymphocytes_abs}" 
                                                       id="lymphocytes_abs_blood"    disabled=""   >
                                            </div>

                                            <div class="col-md-4">
                                                <input type="text"   class="form-control   notPop   "  value="K/uL"    disabled=""  >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">
                                            <div class="col-md-8">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="monocytes_abs"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->monocytes_abs}" 
                                                       id="monocytes_abs_blood"    disabled=""   >
                                            </div>

                                            <div class="col-md-4">
                                                <input type="text"   class="form-control  notPop    "  value="K/uL"    disabled=""  >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">
                                            <div class="col-md-8">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="eosinophils_abs"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->eosinophils_abs}" 
                                                       id="eosinophils_abs_blood"    disabled=""   >
                                            </div>

                                            <div class="col-md-4">
                                                <input type="text"   class="form-control   notPop   "  value="K/uL"    disabled=""  >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">
                                            <div class="col-md-8">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="basophils_abs"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->basophils_abs}" 
                                                       id="basophils_abs_blood"    disabled=""   >
                                            </div>

                                            <div class="col-md-4">
                                                <input type="text"   class="form-control   notPop   "  value="K/uL"    disabled=""  >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px;height: 30px; "></div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">
                                            <div class="col-md-8">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="segmented1"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->segmented1}" 
                                                       id="segmented1_blood"     {if $archive == 1 } disabled="" {/if}    >
                                            </div>
                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">
                                            <div class="col-md-8">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="band1"    
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->band1}" 
                                                       id="band1_blood"   {if $archive == 1 } disabled="" {/if}    >
                                            </div>
                                        </div>


                                    </div>

                                    <div class="form-group col-md-3 " style=" float: left; margin-top: 5px;     margin-left: 3%;">

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">Pct : </label>

                                            <div class="col-md-4">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="pct"     
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->pct}"  id="pct_blood"
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                            <div class="col-md-4">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   "  data-colName="pct_calc"    id="pct_calc" 
                                                       value="{$inv->blood->pct_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">MPV : </label>

                                            <div class="col-md-4">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="mpv"     
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->mpv}"  id="mpv_blood"
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                            <div class="col-md-4">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   "  data-colName="mpv_calc"    id="mpv_calc" 
                                                       value="{$inv->blood->mpv_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;">PDW : </label>

                                            <div class="col-md-4">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="pdw"     
                                                       data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->pdw}"  id="pdw_blood"
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                            <div class="col-md-4">
                                                <input type="text"  class="form-control updateInvest positivefloat  notPop   "  data-colName="pdw_calc"    id="pdw_calc" 
                                                       value="{$inv->blood->pdw_calc}" data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" 
                                                       {if $archive == 1 } disabled="" {/if} >
                                            </div>

                                        </div>

                                        <div class="form-group col-md-12 " style="border: 1px solid black; margin-top: 5px;">

                                            <div class="form-group col-md-12 " style=" float: left; margin-top: 5px;  margin-left:  5px; ">

                                                <div class="col-md-4" style="margin-right: 9px;">
                                                    <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="nrbc"     
                                                           data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->nrbc}"  id="nrbc_blood"
                                                           {if $archive == 1 } disabled="" {/if} >
                                                </div>

                                                <label class="col-md-7 control-label bold txtl" style=" font-size: 16px;">NRBC / 100 WBC  </label>


                                            </div>

                                            <div class="form-group col-md-12 " style=" float: left; margin-top: 5px;margin-left:  5px;  ">

                                                <div class="col-md-4" style="margin-right: 9px;">
                                                    <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="promyelocyte"     
                                                           data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->promyelocyte}"  id="promyelocyte_blood"
                                                           {if $archive == 1 } disabled="" {/if} >
                                                </div>

                                                <label class="col-md-7 control-label bold txtl" style=" font-size: 16px;">Promyelocyte  </label>


                                            </div>

                                            <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; margin-left:  5px; ">

                                                <div class="col-md-4" style="margin-right: 9px;">
                                                    <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="myelocyte"     
                                                           data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->myelocyte}"  id="myelocyte_blood"
                                                           {if $archive == 1 } disabled="" {/if} >
                                                </div>

                                                <label class="col-md-7 control-label bold txtl" style=" font-size: 16px;">Myelocytes  </label>


                                            </div>

                                            <div class="form-group col-md-12 " style=" float: left; margin-top: 5px;margin-left:  5px;  ">

                                                <div class="col-md-4" style="margin-right: 9px;">
                                                    <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="juvenile"     
                                                           data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->juvenile}"  id="juvenile_blood"
                                                           {if $archive == 1 } disabled="" {/if} >
                                                </div>

                                                <label class="col-md-7 control-label bold txtl" style=" font-size: 16px;">Juvenile  </label>


                                            </div>

                                            <div class="form-group col-md-12 " style=" float: left; margin-top: 5px;margin-left:  5px; margin-bottom:5px; ">

                                                <div class="col-md-4" style="margin-right: 9px;">
                                                    <input type="text"  class="form-control updateInvest positivefloat  notPop   " data-colName="blast"     
                                                           data-id="{$inv->blood->id}"  data-tableName="{$inv->tableName}" value="{$inv->blood->blast}"  id="blast_blood"
                                                           {if $archive == 1 } disabled="" {/if} >
                                                </div>

                                                <label class="col-md-7 control-label bold txtl" style=" font-size: 16px;">Blast  </label>


                                            </div>

                                        </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->blood->id}" data-colName="comment" 
                                                      data-tableName="{$inv->tableName}" placeholder="Enter more text" >
                                                {$inv->blood->comment}
                                            </textarea>
                                        </div>
                                    </div>



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


</div>