Added basket draft

This commit is contained in:
Kevin Frantz
2018-07-15 12:15:06 +02:00
parent 99f863e639
commit ca8aaa95be
3 changed files with 42 additions and 3 deletions

View File

@@ -0,0 +1,25 @@
{% extends 'frames/default.html.twig' %}
{% block title %}
basket
{% endblock %}
{% block content %}
<h1>Basket</h1>
<table class="table">
<tr>
<th>id</th>
<th>name</th>
<th>price(net)</th>
<th>tax (%)</th>
<th>price (gross)</th>
</tr>
{% for product in basket.products %}
<tr>
<td>product.id</td>
<td>product.name</td>
<td>product.price.netto.float</td>
<td>product.price.tax</td>
<td>product.price.gross.float</td>
</tr>
{% endfor %}
</table>
{% endblock %}