Commit 38a20b58 by Damien Moulard

infos monnaie de l'admin siege pour trésorier & controleur

parent e7c2ba99
...@@ -87,9 +87,13 @@ ...@@ -87,9 +87,13 @@
{% set siege = getSiege() %} {% set siege = getSiege() %}
{% set compte = siege.getCompte() %} {% set compte = siege.getCompte() %}
{% set compteNanti = siege.getCompteNantie() %}
{% set ecompteNanti = siege.getECompte() %}
{% set soldelabel = 'Billets au siège'|trans %} {% set soldelabel = 'Billets au siège'|trans %}
{% include 'block/solde.html.twig' with {'compte': compte, 'soldelabel': soldelabel} %} {% include 'block/solde.html.twig' with {'compte': compte, 'soldelabel': soldelabel} %}
{% include 'block/solde.html.twig' with {'compte': siege.getCompteNantie() + siege.getECompte(), 'soldelabel': 'Monnaie en circulation'} %} {% include 'block/solde.html.twig' with {'compte': compteNanti, 'soldelabel': 'Billets nantis'} %}
{% include 'block/solde.html.twig' with {'compte': ecompteNanti, 'soldelabel': 'Monnaie numérique distribuée'} %}
{% include 'block/solde.html.twig' with {'compte': compteNanti + ecompteNanti, 'soldelabel': 'Monnaie en circulation'} %}
{% include 'block/userinfos.html.twig' %} {% include 'block/userinfos.html.twig' %}
{% include 'block/userpassword.html.twig' %} {% include 'block/userpassword.html.twig' %}
{# {% include 'block/soldegroupes.html.twig' %} #} {# {% include 'block/soldegroupes.html.twig' %} #}
...@@ -97,7 +101,14 @@ ...@@ -97,7 +101,14 @@
{% elseif app.user and is_granted('ROLE_CONTROLEUR') %} {% elseif app.user and is_granted('ROLE_CONTROLEUR') %}
{% set siege = getSiege() %} {% set siege = getSiege() %}
{% include 'block/solde.html.twig' with {'compte': siege.getCompteNantie() + siege.getECompte(), 'soldelabel': 'Monnaie en circulation'} %} {% set compte = siege.getCompte() %}
{% set compteNanti = siege.getCompteNantie() %}
{% set ecompteNanti = siege.getECompte() %}
{% set soldelabel = 'Billets au siège'|trans %}
{% include 'block/solde.html.twig' with {'compte': compte, 'soldelabel': soldelabel} %}
{% include 'block/solde.html.twig' with {'compte': compteNanti, 'soldelabel': 'Billets nantis'} %}
{% include 'block/solde.html.twig' with {'compte': ecompteNanti, 'soldelabel': 'Monnaie numérique distribuée'} %}
{% include 'block/solde.html.twig' with {'compte': compteNanti + ecompteNanti, 'soldelabel': 'Monnaie en circulation'} %}
{% include 'block/userinfos.html.twig' %} {% include 'block/userinfos.html.twig' %}
{% elseif app.user and is_granted('ROLE_GESTION_GROUPE') %} {% elseif app.user and is_granted('ROLE_GESTION_GROUPE') %}
...@@ -146,6 +157,7 @@ ...@@ -146,6 +157,7 @@
{% set soldelabel = 'Billets au siège'|trans %} {% set soldelabel = 'Billets au siège'|trans %}
{% include 'block/solde.html.twig' with {'compte': compte, 'soldelabel': soldelabel} %} {% include 'block/solde.html.twig' with {'compte': compte, 'soldelabel': soldelabel} %}
{% include 'block/solde.html.twig' with {'compte': compteNanti, 'soldelabel': 'Billets nantis'} %} {% include 'block/solde.html.twig' with {'compte': compteNanti, 'soldelabel': 'Billets nantis'} %}
{% include 'block/solde.html.twig' with {'compte': ecompteNanti, 'soldelabel': 'Monnaie numérique distribuée'} %}
{% include 'block/solde.html.twig' with {'compte': compteNanti + ecompteNanti, 'soldelabel': 'Monnaie en circulation'} %} {% include 'block/solde.html.twig' with {'compte': compteNanti + ecompteNanti, 'soldelabel': 'Monnaie en circulation'} %}
{% include 'block/userinfos.html.twig' %} {% include 'block/userinfos.html.twig' %}
{% include 'block/userpassword.html.twig' %} {% include 'block/userpassword.html.twig' %}
......
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