<script type="text/template" id="agentListTemplate">
    <input type="hidden" class="agent-id" value="<%= id %>">
    
    
    
    
    
    
    <td><%= name %></td>
    <td><%= parent ? parent.name : '-' %></td>
    <td><%= email %></td>
    <td><%= phone %></td>
    <td>
        <select <% if(status == 1) { %> class="confirmed-st update_agent_status" <% } %> <% if(status == 2) { %> class="declined-st update_agent_status" <% } %> ">
        <option value="1" <% if(status == 1) { %> selected <% } %> >Active</option>
        <option value="2" <% if(status == 2) { %> selected <% } %> >Inactive</option>
        </select>
    </td>
    <td><a target="_blank" href="/<%= emirates_id_front %>">View</a></td>
    <td><a target="_blank" href="/<%= emirates_id_back %>">View</a></td>
    <td><a target="_blank" href="/<%= copy_of_passport %>">View</a></td>
    <td><a target="_blank" href="/<%= copy_of_visa %>">View</a></td>
    <td>
        <button 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/agents/agentListTemplate.blade.php ENDPATH**/ ?>