Fix #731 -- Display negative payment method fees correctly

This commit is contained in:
Felix
2018-01-01 00:21:27 +01:00
committed by Raphael Michel
parent f8c536afd3
commit ba170632a5

View File

@@ -12,7 +12,7 @@
<div class="panel-heading">
<h4 class="panel-title">
{% if show_fees %}
<strong class="pull-right">+ {{ p.fee|floatformat:2 }} {{ event.currency }}</strong>
<strong class="pull-right">{% if p.fee < 0 %}-{% else %}+{% endif %} {{ p.fee|floatformat:2|cut:"-" }} {{ event.currency }}</strong>
{% endif %}
<input type="radio" name="payment" value="{{ p.provider.identifier }}"
data-parent="#payment_accordion"