included IBAN check in allowance and subsidies

pull/104/head
mariusrklein 11 months ago
parent ce1a36a389
commit 4c6e271639

@ -87,21 +87,29 @@ cost plan!
</p> </p>
<p> <p>
{% blocktrans %}The allowance of {{ allowance_per_yl }}€ per person is configured to be paid to:{% endblocktrans %} {% blocktrans %}The allowance of {{ allowance_per_yl }}€ per person is configured to be paid to:{% endblocktrans %}
<ul> <table>
<th>
<td>{% trans "IBAN valid" %}</td>
</th>
{% for member in memberlist.statement.allowance_to.all %} {% for member in memberlist.statement.allowance_to.all %}
<li> <tr>
{{ member.name }} <td>{{ member.name }}</td>
</li> <td>{{ member.iban_valid|render_bool }}</td>
</tr>
{% endfor %} {% endfor %}
</ul> </table>
</p> </p>
<p> <p>
{% blocktrans %}The subsidies for night and transportation costs of {{ total_subsidies }}€ is configured to be paid to:{% endblocktrans %} {% blocktrans %}The subsidies for night and transportation costs of {{ total_subsidies }}€ is configured to be paid to:{% endblocktrans %}
<ul> <table>
<li> <th>
{{ memberlist.statement.subsidy_to.name }} <td>{% trans "IBAN valid" %}</td>
</li> </th>
</ul> <tr>
<td>{{ memberlist.statement.subsidy_to.name }}</td>
<td>{{ memberlist.statement.subsidy_to.iban_valid|render_bool }}</td>
</tr>
</table>
</p> </p>
{% if not memberlist.statement.allowance_to_valid %} {% if not memberlist.statement.allowance_to_valid %}
<p> <p>

Loading…
Cancel
Save