This commit is contained in:
Stephan Telling 2017-05-23 23:15:31 +02:00
parent 903b214d86
commit f2ad740ca2
No known key found for this signature in database
GPG key ID: D4892289F36ADA9B
4 changed files with 1 additions and 11 deletions

View file

@ -63,7 +63,6 @@
<strong>Total</strong>
<td>
{{ order.total|currency }}<br />
(~{{ order.total|approxeur }})
</table>

View file

@ -21,7 +21,6 @@
<h3>
<small>Price</small><br />
{{ product.price|currency }}<br />
(~{{ product.price|approxeur }})
</h3>
<hr />

View file

@ -57,7 +57,7 @@ Shop | {{ block.super }}
</td>
<td>
<div class="pull-right">
{{ product.price|currency }} (~{{ product.price|approxeur }})
{{ product.price|currency }}
</div>
</td>
</tr>

View file

@ -13,14 +13,6 @@ def currency(value):
return False
@register.filter
def approxeur(value):
try:
return "{0:.2f} EUR".format(value / Decimal(7.5))
except ValueError:
return False
@register.filter()
def truefalseicon(value):
if value: