1234567891011121314151617181920212223242526272829 |
- {% extends "base.html.twig" %} {% block main %}
- <a href="/order/{{ custid }}/create">Add orderline</a>
- <h1>ORDER DETAILS FOR ORDER {{ orderdetails.reference }}</h1>
- <hr />
- <table>
- <tr>
- <th>id</th>
- <th>Itemnumber</th>
- <th>Name</th>
- <th>Quantity</th>
- <th>Subtotal</th>
- <th>VAT</th>
- <th>Total</th>
- </tr>
- {% for orderlines in orderlines %}
- <tr>
- <td>{{ orderlines.id }}</td>
- <td>{{ orderlines.itemnumber }}</td>
- <td>{{ orderlines.name }}</td>
- <td>{{ orderlines.qty }}</td>
- <td>{{ orderlines.subtotal }}</td>
- <td>{{ orderlines.vat }}</td>
- <td>{{ orderlines.total }}</td>
- </tr>
- {% endfor %}
- </table>
- <a href="/customers">Back to customer list</a>
- <a href="/orders">Back to order list</a>
- {% endblock %}
|