{if $tableName == "organizations"}    
<tr>
    <td >
        <input type="hidden" id="selectIdMain" value="{$selectId}">
        <input type="text" class="form-control updateElement"  id="organization_name{$i}" 
               data-itr="{$i}" data-id="{$mydata->id}" 
               data-colName="organization_name" data-tableName="organizations" >
    </td>
    {if $notAll != 1 }
    <td >
        <input type="text" class="form-control updateElement"  id="organization_discount{$i}" 
               data-itr="{$i}" data-id="{$mydata->id}"     value="0"  
               data-colName="organization_discount" data-tableName="organizations" >
    </td>
    <td >
        <input type="text" class="form-control updateElement"  id="center_discount{$i}" 
               data-itr="{$i}" data-id="{$mydata->id}"   value="0"
               data-colName="center_discount" data-tableName="organizations" >
    </td>

    <td class="txtc" > 
        <input type="radio"  name="discountType{$i}"   value="0"  data-itr="{$i}" data-id="{$mydata->id}"
               data-colName="discount_type" data-tableName="organizations" checked class="updateElement">  
    </td>
    <td class="txtc" > 
        <input type="radio"  name="discountType{$i}"  value="1" data-itr="{$i}" data-id="{$mydata->id}"
               data-colName="discount_type" data-tableName="organizations" class="updateElement">   
    </td>
    {/if}
    <td>
        <a href="#" class="btn red fleft deleteelement" data-id="{$mydata->id}" data-link="visits" 
           data-fun="delAjax" data-tableName="organizations"  style="padding: 2px 0px;width: 100%">
            <i class="fa fa-times" ></i>
        </a>

    </td>
</tr>

{/if}
