Browse Source

Merge branch 'develop'

master
Fabien Normand 3 years ago
parent
commit
2bbd100937
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