1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-08-04 22:33:40 +02:00

Deposit check logic changed

This commit is contained in:
Ehouarn
2025-08-02 23:32:13 +02:00
parent d6f9a9c5b0
commit d1aa1edd09
10 changed files with 132 additions and 37 deletions

View File

@@ -96,7 +96,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% endif %}
{% else %}
<dt class="col-xl-6">{% trans 'Deposit check given'|capfirst %}</dt>
<dd class="col-xl-6">{{ registration.deposit_check|yesno }}</dd>
<dd class="col-xl-6">{{ registration.deposit_given|yesno }}</dd>
{% with information=registration.information %}
<dt class="col-xl-6">{% trans 'preferred bus'|capfirst %}</dt>
@@ -169,9 +169,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% endblocktrans %}</p>
</div>
{% if not registration.deposit_check and not registration.first_year and registration.caution_type == 'check' %}
{% if not registration.deposit_given and not registration.first_year and registration.caution_type == 'check' %}
<div class="alert alert-danger">
{% trans "The user didn't give her/his caution check." %}
{% trans "The user didn't give her/his caution." %}
</div>
{% endif %}