{% extends request.content_only|yesno:"empty.html,base.html" %} {% load crispy_forms_filters i18n %} {% block content %} {% if payment.valid is False %}

{% blocktrans trimmed with amount=payment.amount team=payment.team.trigram tournament=payment.tournament %} You must pay {{ amount }} € for your participation in the team {{ team }} for the tournament {{ tournament }}. This includes the housing and the meals. {% endblocktrans %} {% if payment.grouped %} {% blocktrans trimmed %} This price includes the registrations of all members of your team. {% endblocktrans %} {% else %} {% blocktrans trimmed %} This price includes only your own registration. You are exempt from payment if you have a scholarship, but you must then send us a proof of your scholarship. {% endblocktrans %} {% endif %}

{% if can_group %} {% if payment.grouped %} {% blocktrans trimmed %} You want finally that each member pays its own registration? Then click on the button: {% endblocktrans %}

{% trans "Back to single payments" %}
{% else %} {% blocktrans trimmed %} You want to pay for the registrations of all members of your team, or your school will pay for all registrations? Then click on the button: {% endblocktrans %}
{% trans "Group the payments of my team" %}
{% endif %} {% endif %}

{% blocktrans trimmed %} The payment by credit card is made via Hello Asso. To do this, you can click on the button below, which will redirect you to the secure payment page of Hello Asso. The payment validation will then be done automatically, within a few minutes. {% endblocktrans %}

{% blocktrans trimmed %} If a third party must pay for you (parents, school,…), you can send them the link to pay for you: {% endblocktrans %}

{% url "registration:payment_hello_asso" pk=payment.pk as payment_url %} {{ request.scheme }}://{{ request.site.domain }}{{ payment_url }}?token={{ payment.token }} Copier

{% blocktrans trimmed %} If this is the case and if an invoice is necessary, please contact the tournament organizers by providing the name of the team, the number of participants, the name of the paying establishment, the email address of the establishment and/or the email address of the establishment manager. {% endblocktrans %}

{% blocktrans trimmed %} You can also pay by bank transfer. To do this, you must put in the reference of the transfer "TFJMpu" followed by the last name and the first name of the student. {% endblocktrans %}

{% blocktrans trimmed %} The bank details are as follows: {% endblocktrans %}

IBAN : FR76 1027 8065 0000 0206 4290 127
BIC : CMCIFR2A

{% blocktrans trimmed %} Once your payment done, please send us a proof of your transfer using the below form. The validation of your payment will then be done manually, within a few days. {% endblocktrans %}

{% csrf_token %} {{ bank_transfer_form|crispy }}

{% blocktrans trimmed %} The tournament is free for you if you have a scholarship. However, you must send us a proof of your scholarship. You can do this using the below form. {% endblocktrans %}

{% csrf_token %} {{ scholarship_form|crispy }}

{% blocktrans trimmed %} If you want to use another payment method, please contact the tournament organizers first. Then, if you need to send a proof or your payment, you can use the below form. {% endblocktrans %}

{% csrf_token %} {{ other_form|crispy }}
{% else %} {% if user.registration.is_volunteer %}
{% csrf_token %} {{ form|crispy }}
{% else %} {% if payment.type == 'helloasso' %} {% if payment.valid is True %}
{% with order=payment.get_checkout_intent.order %} {% trans "Your payment by credit card via Hello Asso is successfully validated." %} {% trans "The paid amount is" %} {% widthratio order.amount.total 100 1 %} €. {% if grouped %} {% trans "It includes the registrations of all members of the team." %} {% endif %} {% trans "The payer was " %} {{ order.payer.firstName }} {{ order.payer.lastName }}. {% trans "The payment was done on" %} {{ order.date }}. {% endwith %}
{% elif payment.valid is None %}
{% trans "The payment by credit card via Hello Asso is pending validation." %} {% trans "It should takes only few minutes. If it takes longer, please contact us." %}
{% endif %} {% else %} {% if payment.valid is True %}
{% trans "Your payment is successfully validated by the organizers." %}
{% elif payment.valid is None %}
{% trans "Your payment is pending validation from the organizers." %}
{% endif %} {% endif %} {% endif %} {% endif %} {% endblock content %} {% block extrajavascript %} {% endblock %}