Correctly display payment fee on the order detail page

This commit is contained in:
Raphael Michel
2016-06-06 23:56:26 +02:00
parent a7fc8e19fb
commit fd2c293521
3 changed files with 7 additions and 4 deletions

View File

@@ -85,9 +85,9 @@
</div>
<div class="col-md-3 col-xs-6 col-md-offset-5 price">
<strong>{{ event.currency }} {{ cart.payment_fee|floatformat:2 }}</strong>
{% if event.settings.tax_rate_default %}
{% if cart.payment_fee_tax_rate %}
<br/>
<small>{% blocktrans trimmed with rate=event.settings.tax_rate_default %}
<small>{% blocktrans trimmed with rate=cart.payment_fee_tax_rate %}
incl. {{ rate }}% taxes
{% endblocktrans %}</small>
{% endif %}