Browse Source

display two digits after the decimal point

master
Frederic 11 years ago
parent
commit
ab948d34e6
  1. 2
      cash/templates/cash/product_list.html

2
cash/templates/cash/product_list.html

@ -20,7 +20,7 @@ Kategorie: @@ -20,7 +20,7 @@ Kategorie:
{% for p in product_list %}
<tr>
<td>{{ p.name }}</td>
<td>{{ p.price }} &euro;</td>
<td>{{ p.price|floatformat:2 }} &euro;</td>
<td>
<a href="{% url 'buy' p.id %}">Kaufen</a>
<a href="{% url 'product' p.id %}">Details</a>

Loading…
Cancel
Save