123456789101112131415161718192021222324252627282930313233343536 |
- {% extends "base.html.twig" %} {% block main %}
- <h1>CUSTOMERS LIST</h1>
- <hr />
- <table>
- <tr>
- <th>id</th>
- <th>First Name</th>
- <th>Last Name</th>
- <th>Company</th>
- <th>VAT Number</th>
- <th>Street</th>
- <th>Street 2</th>
- <th>ZIP Code</th>
- <th>City</th>
- <th>State</th>
- <th>Country</th>
- </tr>
- {% for customer in customers %}
- <tr>
- <td>
- <a href="/orders/{{ customer.id }}">{{ customer.id }}</a>
- </td>
- <td>{{ customer.firstname }}</td>
- <td>{{ customer.lastname }}</td>
- <td>{{ customer.company }}</td>
- <td>{{ customer.vatnumber }}</td>
- <td>{{ customer.street }}</td>
- <td>{{ customer.street2 }}</td>
- <td>{{ customer.zipcode }}</td>
- <td>{{ customer.city }}</td>
- <td>{{ customer.state }}</td>
- <td>{{ customer.country }}</td>
- </tr>
- {% endfor %}
- </table>
- {% endblock %}
|