{% set basket_length = basket.getElements()|length %}
{% if app.getAclForUser(app.getAuthenticatedUser()).has_right('modifyrecord') %} {% endif %} {% if app.getAclForUser(app.getAuthenticatedUser()).has_right('changestatus') %} {% endif %} {% if app.getAclForUser(app.getAuthenticatedUser()).has_right('deleterecord') and app.getAclForUser(app.getAuthenticatedUser()).has_right('addrecord') %} {% endif %} {% if app.getAclForUser(app.getAuthenticatedUser()).has_right('push') %} {% endif %} {% if app.getAclForUser(app.getAuthenticatedUser()).has_right('push') %} {% endif %} {% if app.getAclForUser(app.getAuthenticatedUser()).has_right('bas_chupub') %} {% endif %} {% if app.getAclForUser(app.getAuthenticatedUser()).has_right('doctools') %} {% endif %} {% if plugins['actionbar'] is not empty %} {% for plugin in plugins['actionbar'] %} {% for key, action in plugin.getBasketActionBar() %} {% set label = action.label %} {% endfor %} {% endfor %} {% endif %}
{{ 'Certaines donnees du panier ont change' | trans }} {{ 'rafraichir' | trans }}
{% if basket_length == 0 %}
{% endif %} {% set basket_scope = 'objects' %} {% import 'prod/WorkZone/Macros.html.twig' as Macros %} {% if basket.getValidation() %} {{ Macros.display_validation(app, basket, ordre) }} {% else %} {{ Macros.display_basket(app, basket) }} {% endif %}