diff --git a/templates/site/company_membership/payment.html.twig b/templates/site/company_membership/payment.html.twig index 2316f7285..410c02d62 100644 --- a/templates/site/company_membership/payment.html.twig +++ b/templates/site/company_membership/payment.html.twig @@ -1,42 +1,87 @@ -{% extends 'admin/association/membership/_base.html.twig' %} -{% block page_content %} -
-

Adhésion entreprise à l'AFUP

-

Adhésion enregistrée !

-

- Votre inscription a bien été enregistrée ! Il ne vous reste plus qu'à régler votre cotisation. -

-

- Montant de la cotisation: {{ invoice.montant|number_format(2, '.', ' ') }} Euros -

-

Facture disponible

+{% extends 'layouts/site.html.twig' %} -

- Télécharger la facture -

-

Régler votre cotisation par Carte Bleue

- {{ paybox|raw }} -

Régler votre cotisation par chèque

-

Libellez le chèque à cet ordre: {{ afup.raison_sociale }}. Indiquez au dos le numéro de facture: {{ invoice.numeroFacture }}

-
- {{ afup.raison_sociale }}
- {{ afup.adresse }}
- {{ afup.code_postal }} {{ afup.ville }} -
-

Régler votre cotisation par virement bancaire

-

- Lors d'un règlement par virement bancaire, indiquez ce libellé: {{ invoice.numeroFacture }}. +{% block title %}Régler votre cotisation - Adhésion entreprise - AFUP{% endblock %} + +{% block metas %} + +{% endblock %} + +{% block content %} + +

+ +
+

Adhésion entreprise à l'AFUP

+

+ Votre inscription a bien été enregistrée ! Il ne vous reste plus qu'à régler votre cotisation. +

+
+ + +
+

Montant de la cotisation

+

{{ invoice.montant|number_format(2, ',', ' ') }} €

+

Facture n° {{ invoice.numeroFacture }}

+
+ + Télécharger la facture + +
+ + Régler votre cotisation + +
+ + +

Par carte bancaire

+

Paiement immédiat et sécurisé via Paybox.

+ {# Le formulaire est produit par AppBundle\Payment\Paybox : son
+ +

+ Si vous rencontrez le moindre problème, n'hésitez pas à nous écrire à + bonjour (at) afup.org.

- - - - - - - -
IBANBIC/SWIFT
{{ bankAccount.iban }}{{ bankAccount.bic }}
- - -

Si vous rencontrez le moindre problème, n'hésitez pas à contacter l'AFUP par email: bonjour (at) afup.org.

-
+ + + {% endblock %} diff --git a/tests/behat/features/PublicSite/Register.feature b/tests/behat/features/PublicSite/Register.feature index 335a097aa..19e24c5ff 100644 --- a/tests/behat/features/PublicSite/Register.feature +++ b/tests/behat/features/PublicSite/Register.feature @@ -81,8 +81,9 @@ Feature: Site Public - Register And I fill in "company_member_phone" with "0123456" And I fill in "company_member[invitations][0][email]" with "registeredUser@gmail.com" And I press "Enregistrer mon adhésion" - And I should see "Adhésion enregistrée !" - And I should see "Montant de la cotisation: 180.00 Euros" + And I should see "Votre inscription a bien été enregistrée !" + And I should see "Montant de la cotisation" + And I should see "180,00 €" When I press "Régler par carte" # Pour suivre la redirection POST de Paybox And I submit the form with name "PAYBOX"