Select the matching bunq account from the import. Fixes #1398

This commit is contained in:
Paul Sohier
2018-04-29 16:26:19 +02:00
parent 49138eb03a
commit f140d2f37a
2 changed files with 29 additions and 9 deletions

View File

@@ -47,7 +47,7 @@
<td>
<select class="form-control" name="import[{{ account.id }}]">
{% for id,name in account.options %}
<option value="{{ id }}" label="{{ name }}">{{ name }}</option>
<option value="{{ id }}" label="{{ name.name }}"{% if account.iban == name.iban %} selected="selected"{% endif %}>{{ name.name }}</option>
{% endfor %}
</select>
</td>