forked from Ruderverein-Donau-Linz/rowt
		
	fix error when no fee is set
This commit is contained in:
		| @@ -110,13 +110,7 @@ | ||||
|                 <h2 class="h2">💸</h2> | ||||
|                 <div class="mx-2 divide-y divide-gray-200 dark:divide-primary-600"> | ||||
|                     <div class="py-3"> | ||||
|                         {% if "Schnupperant" in member %} | ||||
|                             {% if "paid" in user.roles %} | ||||
|                                 ✅ Schnupperant hat schon bezahlt | ||||
|                             {% else %} | ||||
|                                 ❌ Schnupperant hat noch <b>nicht</b> bezahlt | ||||
|                             {% endif %} | ||||
|                         {% else %} | ||||
|                         {% if fee %} | ||||
|                             <div> | ||||
|                                 <strong>{{ fee.name }}</strong> | ||||
|                                 <span class="block">{{ fee.sum_in_cents / 100 }}€</span> | ||||
| @@ -132,6 +126,16 @@ | ||||
|                             {% else %} | ||||
|                                 ❌ Zahlung ausständig | ||||
|                             {% endif %} | ||||
|                         {% else %} | ||||
|                             {% if "paid" in user.roles %} | ||||
|                                 ✅ {{ member | keys }} hat schon bezahlt | ||||
|                             {% else %} | ||||
|                                 ❌ | ||||
|                                 {% for key, value in member %} | ||||
|                                     {% if loop.first %}{{ key }}{% endif %} | ||||
|                                 {% endfor %} | ||||
|                                 hat noch nicht bezahlt | ||||
|                             {% endif %} | ||||
|                         {% endif %} | ||||
|                     </div> | ||||
|                 </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user