{% extends 'layout.html.twig' %}
{% block content %}
<div class="customers-info">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>S.No</th>
<th>Customer FirstName</th>
<th>Customer LastName</th>
<th>Customer Status</th>
<th>Customers Email-Address</th>
<th>Action</th>
</tr>
</thead>
<tbody>
{% for customers in customersList %}
{# {% if product.product_id is empty %}#}
{# {% continue %}#}
{# {% endif %}#}
<tr>
<td>{{ customers.customers_id|e }}</td>
<td>{{ customers.customers_firstname|e }}</td>
<td>{{ customers.customers_lastname|e }}</td>
<td>{{ customers.customers_status|e }}</td>
<td>{{ customers.customers_email_address|e }}</td>
<td><a href="{{ path('customers', {'id': customers.customers_id}) }}"class="btn btn-success btn-sm">
View Details</a></td>
</tr>
{% endfor %}
</tbody>
</table>
{% for customers in paginator %}
{% endfor %}
<br />
{% include 'content/pagination.html.twig' %}
</div>
{% endblock %}