{% extends 'layout.html.twig' %}
{% block content %}
<div class="order-info">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>S.No</th>
<th>Customer Name</th>
<th>Billing Company</th>
<th>Payment Method</th>
<th>Customers Email-Address</th>
<th>Action</th>
</tr>
</thead>
<tbody>
{% for orders in ordersList %}
{# {% if product.product_id is empty %}#}
{# {% continue %}#}
{# {% endif %}#}
<tr>
<td>{{ orders.orders_id|e }}</td>
<td>{{ orders.customers_name|e }}</td>
<td>{{ orders.billing_company|e }}</td>
<td>{{ orders.payment_method|e }}</td>
<td>{{ orders.customers_email_address|e }}</td>
<td><a href="{{ path('orders', {'id': orders.orders_id}) }}"class="btn btn-success btn-sm">
View Details</a></td>
</tr>
{% endfor %}
</tbody>
</table>
{% for orders in paginator %}
{% endfor %}
<br />
{% include 'content/pagination.html.twig' %}
</div>
{% endblock %}