{% set success = app['request'].query.get('success') %}
{% set action = app['request'].query.get('action') %}
{% if success == '1' %}
{% if action == 'order' %}
{{ 'The records have been properly ordered' | trans }}
{% elseif action == 'send' %}
{{ 'Order has been sent' | trans }}
{% elseif action == 'deny' %}
{{ 'Order has been denied' | trans }}
{% endif %}
{% elseif success == '0' %}
{{ 'An error occured, please retry or contact an admin if problem persists' | trans }}