Fix IBAN selection.

This commit is contained in:
James Cole
2018-05-25 12:08:15 +02:00
parent e953becbae
commit 883b16fad1

View File

@@ -32,6 +32,7 @@
</thead> </thead>
<tbody> <tbody>
{% for account in data.accounts %} {% for account in data.accounts %}
{% set currentIban = 'not-iban' %}
<tr> <tr>
<td style="background:{{ account.settings.color }};"></td> <td style="background:{{ account.settings.color }};"></td>
<td> <td>
@@ -39,6 +40,7 @@
{% for alias in account.aliases %} {% for alias in account.aliases %}
{% if alias.type == 'IBAN' %} {% if alias.type == 'IBAN' %}
{{ alias.name }}: {{ alias.value }} {{ alias.name }}: {{ alias.value }}
{% set currentIban = alias.value %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</td> </td>