
<tr  {if  $one->deleted == 1 } style="background-color: darkgray;"  {/if}>

    <td>
        <input type="text" class="form-control updateElement" id="inv{$one->id}" data-id="{$one->id}"   data-colName="name" 
               data-tableName="invests"  value="{$one->name}"
               style="height: 26px;"/>
    </td>
    
    
        <td>
        <input type="text" class="form-control updateElement" id="inv{$one->id}" data-id="{$one->id}"   data-colName="name_ar" 
               data-tableName="invests"  value="{$one->name_ar}"
               style="height: 26px;"/>
    </td>


    <td>
        <select class="form-control  updateElement"   data-id="{$one->id}"  data-itr="{$invest_itr}"   
                name="investcatid"   id="investcatid{$one->id}" data-colName="investcatid" data-tableName="invests">
            <option value=""></option>
            {foreach $allCats as $data}
            <option value="{$data->id}" {if $one->investcatid eq  $data->id}selected{/if}>{$data->name}</option>
            {/foreach}
        </select>
    </td>


    <td>
        <input type="text" class="form-control updateElement" id="price{$one->id}" data-id="{$one->id}"   data-colName="price" data-tableName="invests"  value="{$one->price}"
               style="height: 26px;"/>
    </td>

    <td>
        <input type="text" class="form-control updateElement" id="lab_to_lab_price{$one->id}" data-id="{$one->id}"   data-colName="lab_to_lab_price" data-tableName="invests"  value="{$one->lab_to_lab_price}"
               style="height: 26px;"/>
    </td>

    
        <td>
        <div class="md-checkbox" id="active_onlineCheck{$one->id}" >
            <input type="checkbox" id="active_online{$one->id}" data-id="{$one->id}"  data-tableName="invests"    value="1"                              
                   data-colName="active_online"    class="md-check updateElementCheck" {if $one->active_online == 1}checked{/if}>
            <label for="active_online{$one->id}">
                <span></span>
                <span class="check"></span>
                <span class="box"></span>
            </label>
        </div>
    </td>
    
    
      <td>

        {if  $one->deleted == 1 }
        <a class="btn default btn-xs disableBtn" data-id="{$one->id}"   id="deleteInv{$one->id}"  data-colName="deleted"
           href="#" data-link="addinvestigation" data-fn="disableIt" data-tableName="invests" data-val="0"> EN
        </a>
        {else}
        <a class="btn red btn-xs disableBtn" data-id="{$one->id}"   id="deleteInv{$one->id}"  data-colName="deleted"
           href="#" data-link="addinvestigation" data-fn="disableIt" data-tableName="invests" data-val="1"> Dis
        </a>
        {/if}

    </td>
</tr> 











