<script type="text/template" id="callingDatabaseListTemplate">
    <input type="hidden" class="callingDatabase-id" value="<%= id %>">
    <td>
        <div class="icheck-material-primary">
            <input type="checkbox" id="checkbox_<%= id %>" class="bulkRow"/>
            <label for="checkbox_<%= id %>"></label>
        </div>
    </td>
    <td><a style="color: blue;cursor: pointer" class="view-btn"><%= reference_number %></a></td>
    <td><%= name %></td>
    <td><%= email %></td>
    <td><%= phone %></td>
    <td><%= unit_no %></td>
    <td><%= tower %></td>
    <td><%= district %></td>
    <td><%= city %></td>
    <td><%= property_type %></td>
    <td><%= assignee ? assignee.name : '' %></td>
    <td><%= cd_status ? cd_status.name : '' %></td>
    <td>
        <% if(!converted_to) { %>
            <%= cd_category ? cd_category.name : '' %>
        <% } else { %>
            Moved to <%= converted_to %> (Converted)
        <% } %>
    </td>
    <td>
        <% if(!converted_to) { %>
        <button data-type="Leads" type="button" class="btn btn-secondary convert-btn"><i class="fa fa-exchange"></i> Move to Lead</button>
        <button data-type="Contacts" type="button" class="btn btn-warning convert-btn"><i class="fa fa-exchange"></i> Move to Contact</button>
        <button data-id="<%= id %>" type="button" class="btn btn-primary edit-btn"><i class="fa fa-edit"></i> Edit</button>
        <button type="button" class="btn btn-danger delete-btn"><i class="fa fa-trash"></i> Delete</button>
        <% } %>
    </td>
</script>
<?php /**PATH E:\xampp\htdocs\propco\resources\views/admin/callingDatabase/callingDatabaseListTemplate.blade.php ENDPATH**/ ?>