{% extends '@SyliusShop/layout.html.twig' %} {% block title %}{{ 'sylius.ui.thank_you'|trans }} | {{ parent() }}{% endblock %} {% block content %} {% set lastPayment = order.payments.last() %}
Decoration
{% set establishment = (order.establishment != NULL) ? order.establishment : false %} {% if lastPayment != false %}

{% if establishment != false and establishment.typeOrganization in [ constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_PUBLIC'), constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_MAIRIE'), constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_PRIVE')] %} Votre demande de devis #{{ order.number }} a été pris en compte. {% elseif app.session.get('checkout_action_type') == "quote" %} Votre demande de devis #{{ order.number }} a été pris en compte. {% else %} Votre commande #{{ order.number }} a été validée. {% endif %}

{% else %} {% if app.user.userType.id == constant('App\\Entity\\User\\UserType::ID_PARENT_STUDENT') %}

Votre commande #{{ order.number }} a été validée.

{% else %} {% if establishment != false and establishment.typeOrganization in [ constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_PUBLIC'), constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_MAIRIE'), constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_PRIVE') ] %}

Votre demande de devis #{{ order.number }} a été pris en compte.

{% elseif app.session.get('checkout_action_type') == "quote" %}

Votre demande de devis #{{ order.number }} a été pris en compte.

{% else %}

Votre commande #{{ order.number }} a été validée.

{% endif %} {% endif %} {% endif %}
{% if app.user.userType.id == constant('App\\Entity\\User\\UserType::ID_PARENT_STUDENT') %} L’équipe Keep’school vous remercie pour votre commande. Vous recevrez d’ici quelques minutes un email de confirmation contenant le récapitulatif de votre commande et son n° de suivi. {% else %} {% if establishment != false and establishment.typeOrganization in [ constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_PUBLIC'), constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_MAIRIE'), constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_PRIVE') ] %} L’équipe Keep’school vous remercie pour votre demande. Vous recevrez d’ici quelques minutes un email de confirmation contenant le récapitulatif de votre devis et son n° de suivi. {% elseif app.session.get('checkout_action_type') == "quote" %} L’équipe Keep’school vous remercie pour votre demande. Vous recevrez d’ici quelques minutes un email de confirmation contenant le récapitulatif de votre devis et son n° de suivi. {% else %} L’équipe Keep’school vous remercie pour votre commande. Vous recevrez d’ici quelques minutes un email de confirmation contenant le récapitulatif de votre commande et son n° de suivi. {% endif %} {% endif %}
Revenir sur le site {% if app.user.userType.id == constant('App\\Entity\\User\\UserType::ID_PARENT_STUDENT') %} Suivre ma commande {% else %} {% if establishment != false and establishment.typeOrganization in [ constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_PUBLIC'), constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_MAIRIE'), constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_PRIVE')] %} Consulter mes devis {% elseif app.session.get('checkout_action_type') == "quote" %} Consulter mes devis {% else %} Suivre ma commande {% endif %} {% if establishment != false and establishment.typeOrganization not in [ constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_PUBLIC'), constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_MAIRIE'), constant('App\\Entity\\User\\Establishment::TYPE_ORGANIZATION_PRIVE') ] and app.session.get('checkout_action_type') != "quote" %} Ajouter une nouvelle liste au panier {% endif %} {% endif %}
Decoration
{% endblock %}