Commit 9a2d6212 by Damien Moulard

Merge branch '4122-evols-role-point-de-vente' into 'develop'

implement changes on admin prestataires screen

See merge request cooperatic/kohinos-tav!4
parents 8ed32ccf f4323283
......@@ -5,24 +5,26 @@
{% endif %}
{# {% include '@kohinos/block/transactions.html.twig' %} #}
{% include '@kohinos/block/operations.html.twig' %}
{% if getCurrentPrestataire().mlc == true %}
{% if not tav_env %}
{% 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'))} %}
{% elseif getCurrentPrestataire().solidoume == false %}
{% elseif getCurrentPrestataire().solidoume == false %}
{% include '@kohinos/block/cotisations.html.twig' %}
{% set groupeprestataires = getAllGroupePrestataires() %}
{% if groupeprestataires|length > 0 %}
{% include '@kohinos/groupepresta/block/inscription.html.twig' %}
{% endif %}
{% endif %}
{% if getCurrentPrestataire().solidoume == false %}
{% endif %}
{% if getCurrentPrestataire().solidoume == false %}
{% if KOH_USE_PAYZEN == 'true' or KOH_USE_HELLOASSO == 'true' %}
{% include '@kohinos/presta/block/achat_monnaie.html.twig' %}
{% else %}
{% include '@kohinos/presta/block/demande_achat_monnaie.html.twig' %}
{% endif %}
{% endif %}
{% include '@kohinos/presta/block/transaction_presta.html.twig' %}
{% include '@kohinos/presta/block/transaction_adherent.html.twig' %}
{% endif %}
{% include '@kohinos/presta/block/transaction_presta.html.twig' %}
{% include '@kohinos/presta/block/transaction_adherent.html.twig' %}
{% if getCurrentPrestataire().mlc == false and getCurrentPrestataire().solidoume == false and getCurrentPrestataire().emlcAccount.balance > 0 %}
{% include '@kohinos/presta/block/reconversion.html.twig' %}
{% endif %}
\ No newline at end of file
......@@ -4,7 +4,7 @@
{# {% block blocktoggle %}{% if isCotisationValid(app.user) %}collapse{% endif %}{% endblock blocktoggle %} #}
{% block blocktitle %}
<i class="fa fa-external-link fa-external-link-alt mr-4"></i> {{ 'Reconversion'|trans }}
<i class="fa fa-external-link fa-external-link-alt mr-4"></i> {% if tav_env %}{{ 'Demander une reconversion en €'|trans }}{% else %}{{ 'Reconversion'|trans }}{% endif %}
{% endblock blocktitle %}
{% block blockcontent %}
{% if isCotisationValid(app.user) %}
......
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