{% extends "member/noteowner_detail.html" %} {% load crispy_forms_tags %} {% load i18n %} {% load pretty_money %} {% load perms %} {% block profile_info %} {% include "wei/weiclub_info.html" %} {% endblock %} {% block profile_content %}

{% trans "Review registration" %}

{% trans 'name'|capfirst %}, {% trans 'first name' %}
{{ registration.user.last_name }} {{ registration.user.first_name }}
{% trans 'username'|capfirst %}
{{ registration.user.username }}
{% trans 'email'|capfirst %}
{{ registration.user.email }}
{% if not registration.user.profile.email_confirmed and "member.change_profile_email_confirmed"|has_perm:registration.user.profile %}
{% trans "This user doesn't have confirmed his/her e-mail address." %} {% trans "Click here to resend a validation link." %}
{% endif %}
{% trans 'section'|capfirst %}
{{ registration.user.profile.section }}
{% trans 'address'|capfirst %}
{{ registration.user.profile.address }}
{% trans 'phone number'|capfirst %}
{{ registration.user.profile.phone_number }}
{% trans 'paid'|capfirst %}
{{ registration.user.profile.paid|yesno }}

{% trans 'gender'|capfirst %}
{{ registration.gender }}
{% trans 'birth date'|capfirst %}
{{ registration.birth_date }}
{% trans 'health issues'|capfirst %}
{{ registration.health_issues }}
{% trans 'emergency contact name'|capfirst %}
{{ registration.emergency_contact_name }}
{% trans 'emergency contact phone'|capfirst %}
{{ registration.emergency_contact_phone }}
{% trans 'Register on the mailing list to stay informed of the events of the campus (1 mail/week)' %}
{{ registration.ml_events_registration|yesno }}
{% trans 'Register on the mailing list to stay informed of the sport events of the campus (1 mail/week)' %}
{{ registration.ml_sport_registration|yesno }}
{% trans 'Register on the mailing list to stay informed of the art events of the campus (1 mail/week)' %}
{{ registration.ml_art_registration|yesno }}
{% trans 'Payment from Société générale' %}
{{ registration.soge_credit|yesno }}
{% trans 'caution check given'|capfirst %}
{{ registration.caution_check|yesno }}

{% trans "Validate registration" %}

{% if registration.soge_credit %}
{% blocktrans %} The WEI will be paid by Société générale. The membership will be created even if the bank didn't pay the BDE yet. The membership transaction will be created but will be invalid. You will have to validate it once the bank validated the creation of the account, or to change the payment method. {% endblocktrans %}
{% else %} {% if registration.user.note.balance < fee %}
{% with pretty_fee=fee|pretty_money %} {% blocktrans with balance=registration.user.note.balance|pretty_money %} The note don't have enough money ({{ balance }}, {{ pretty_fee }} required). The registration may fail. {% endblocktrans %} {% endwith %}
{% else %}
{% trans "The note has enough money." %}
{% endif %} {% endif %} {% if not registration.caution_check %}
{% trans "The user didn't give her/his caution check." %}
{% endif %}
{% csrf_token %} {{ form|crispy }}
{% endblock %}