Browse Source

Correctif mineur

packProduct
Fabien Normand 3 years ago
parent
commit
149ee0e216
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      Resources/views/adminlte/layout.html.twig

+ 0
- 2
Resources/views/adminlte/layout.html.twig View File

{% set user = app.user %} {% set user = app.user %}
{% set merchant_current = merchant_current() %} {% set merchant_current = merchant_current() %}


{{ dump( merchant_current)}}
{{ dump( user.favoriteMerchant )}}
{% if(user.favoriteMerchant != merchant_current) %} {% if(user.favoriteMerchant != merchant_current) %}
{# modal affichée uniquement si la sessionStorage.visit_merchant n'est pas défini (js) #} {# modal affichée uniquement si la sessionStorage.visit_merchant n'est pas défini (js) #}
{% include '@LcCaracole/admin/merchant/modal/switch_merchant.html.twig' %} {% include '@LcCaracole/admin/merchant/modal/switch_merchant.html.twig' %}

Loading…
Cancel
Save