Commit 8cc0d3ab by Damien Moulard

add todos

parent 2008675a
...@@ -428,7 +428,7 @@ class PrestataireAdmin extends AbstractAdmin ...@@ -428,7 +428,7 @@ class PrestataireAdmin extends AbstractAdmin
} }
$em->flush(); $em->flush();
// TODO: remove from user's possible groups when user is unselected from caissiers list // TODO: remove goup (and possible groups?) when user is unselected from caissiers list (get caissiers before update & compare)
return $return; return $return;
} }
......
...@@ -154,17 +154,17 @@ ...@@ -154,17 +154,17 @@
{% elseif app.user and is_granted('ROLE_CAISSIER_COMPTOIR') %} {% elseif app.user and is_granted('ROLE_CAISSIER_COMPTOIR') %}
{% if getCurrentComptoir() != null %} {% if getCurrentComptoir() != null %}
{% set compte = getCurrentComptoir().compte %} {% set compte = getCurrentComptoir().compte %}
{% set soldelabel = 'Solde du comptoir "'|trans ~ getCurrentComptoir() ~ '"' %} {% set soldelabel = 'Solde du comptoir "'|trans ~ getCurrentComptoir() ~ '"' %}
{% include 'block/solde.html.twig' with {'compte': compte, 'soldelabel': soldelabel} %} {% include 'block/solde.html.twig' with {'compte': compte, 'soldelabel': soldelabel} %}
{% endif %} {% endif %}
{% include 'block/transactions.html.twig' %} {% include 'block/transactions.html.twig' %}
{% include 'comptoir/block/vente_adherent.html.twig' %} {% include 'comptoir/block/vente_adherent.html.twig' %}
{% include 'comptoir/block/vente_prestataire.html.twig' %} {% include 'comptoir/block/vente_prestataire.html.twig' %}
{% include 'comptoir/block/retrait_prestataire.html.twig' %} {% include 'comptoir/block/retrait_prestataire.html.twig' %}
{% include 'comptoir/block/retrait_adherent.html.twig' %} {% include 'comptoir/block/retrait_adherent.html.twig' %}
{% include 'comptoir/block/reconversion.html.twig' %} {% include 'comptoir/block/reconversion.html.twig' %}
{% elseif app.user and is_granted('ROLE_CONTACT') %} {% elseif app.user and is_granted('ROLE_CONTACT') %}
...@@ -210,6 +210,7 @@ ...@@ -210,6 +210,7 @@
{% endif %} {% endif %}
{% elseif app.user and is_granted('ROLE_CAISSIER_PRESTATAIRE') %} {% elseif app.user and is_granted('ROLE_CAISSIER_PRESTATAIRE') %}
<!-- TODO : and if isCaissierOfPrestataire -->
{% include 'block/transactions.html.twig' %} {% include 'block/transactions.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