Commit 686870b8 by Yvon

display cancel transaction btn only in tav mode

parent f6bedd20
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
{% include '@kohinos/presta/block/infos.html.twig' %} {% include '@kohinos/presta/block/infos.html.twig' %}
{% endif %} {% endif %}
{# {% include '@kohinos/block/transactions.html.twig' %} #} {# {% include '@kohinos/block/transactions.html.twig' %} #}
{% include '@kohinos/block/operations.html.twig' with {'display_cancel_transaction_btn' : true} %} {% include '@kohinos/block/operations.html.twig' with {'display_cancel_transaction_btn' : tav_env} %}
{% if not tav_env %} {% if not tav_env %}
{% if getCurrentPrestataire().mlc == true %} {% if getCurrentPrestataire().mlc == true %}
{% include '@kohinos/block/operations.html.twig' with {'title' : 'Compte de fonctionnement €', 'operations': getLastOperations(app.request, app.user, constant('App\\Enum\\CurrencyEnum::CURRENCY_EURO'))} %} {% include '@kohinos/block/operations.html.twig' with {'title' : 'Compte de fonctionnement €', 'operations': getLastOperations(app.request, app.user, constant('App\\Enum\\CurrencyEnum::CURRENCY_EURO'))} %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment