123456789101112131415161718192021222324252627282930313233 |
- {% extends "base.html.twig"%} {% block main%}
- <h1>CUSTOMERS LIST</h1>
- <hr/>
- <table>
- <tr>
- <th>Id</th>
- <th>Firstname</th>
- <th>Lastname</th>
- <th>Company</th>
- <th>VAT Number</th>
- <th>Street</th>
- <th>2nd Street</th>
- <th>Zipcode</th>
- <th>City</th>
- <th>State</th>
- <th>Country</th>
- </tr>
- {% for customer in customerList%}
- <tr>
- <td><a href="/orders/{{customer.id}}">{{customer.id}}</td>
- <td>{{customer.firstname}}</td>
- <td>{{customer.lastname}}</td>
- <td>{{customer.company}}</td>
- <td>>{{customer.vatnumber}}</td>
- <td>{{customer.street}}</td>
- <td>{{customer.street2nd}}</td>
- <td>{{customer.zipcode}}</td>
- <td>{{customer.city}}</td>
- <td>{{customer.state}}</td>
- <td>{{customer.country}}</td>
- {% endfor%}
- </table>
- {% endblock%}
|