<script type="text/template" id="leadsListTemplate">
    <input type="hidden" class="lead-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" href="/lead-detail/<%= id %>"><%= reference_number %></a></td>
    <td><%= title %></td>
    <td><%= name %></td>
    <td><%= email %></td>
    <td><%= phone %></td>
    <td><%= lead_type ? lead_type.name : '' %></td>
    <td><%= lead_category ? lead_category.name : '' %></td>
    <td><%= lead_status ? lead_status.name : '' %></td>
    <td><%= assignee ? assignee.name : '' %></td>
    <td><%= property_type ? property_type.name : '' %></td>
    <td>
        <% if(converted_to) { %>
            <button type="button" class="btn btn-outline-warning disabled">Moved to <%= converted_to %></button>
        <% } else { %>
            <button data-type="Contacts" data-id="<%= id %>" type="button" class="btn btn-warning convert-btn"><i class="fa fa-exchange"></i> Move to Contact</button>
        <% } %>
        <a href="/lead-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/leads/leadsListTemplate.blade.php ENDPATH**/ ?>