<script type="text/template" id="contactsListTemplate">
    <input type="hidden" class="contact-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>
        <% if(type === 1) { %>
            <a style="color: blue;cursor: pointer" href="/contact-detail/<%= id %>"><%= reference_number %></a>
        <% } else { %>
            <%= reference_number %>
        <% } %>
    </td>
    <td><%= type == 1 ? 'Individual' : 'Company' %></td>
    <td><%= name %></td>
    <td><%= phone %></td>
    <td><%= email %></td>
    <td><%= source ? source.name : '' %></td>
    <td><%= contact_role ? contact_role.name : '' %></td>
    <td><%= assignee ? assignee.name : '' %></td>
    <td>
        <% if(type === 1) { %>
            <a href="/contact-detail/<%= id %>" class="btn btn-primary edit-btn"><i class="fa fa-edit"></i> Details</a>
        <% } %>
        <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/contacts/contactsListTemplate.blade.php ENDPATH**/ ?>