<div id="menu-panier" >
    {% if panier.has_panier %}
        <a  class="btn-menuprofile" href="{{ path('Panier.Panier.index') }}"></a>
        <span class="compteur" id="zone_ligneCount">{{ panier.ligne_count }}</span>
        <div id="submenu-panier">
            <span class="arrow"></span>
            <ul class="bg-default border-shadow menu-list menu-list-border">
                <li class="affichage_panier_menu bs-row-label" style="white-space: nowrap;">
                    <i class="icosq-panier" style="font-size: 2.666rem"></i>
                    <span class="ml-auto" id="zone_mntEntete">
                        {{- panier.mnt -}}
                    </span>
                    <span class="ml-tiny">
                        {{- panier.dev -}}
                    </span>
                </li>
                {% for item in panier.list %}
                <li class="bs-row-label">
                    <a class="bs-row-label bs-col"
                        href="{{ item.linkV2? item.linkV2:'#' }}" 
                    >
                        {{- item.label -}}
                        {% if item.total is defined %}
                        <div class="badge-panier">{{ item.total }}</div>
                        {% endif %}
                    </a>
                    {% if item.link_sup is defined and item.old == true %}
                    <img class="btn-aside"
                        style="position: absolute;right: 10px;"
                        src="{{ baseUrl('IconeV2/Misc/picto_supprimer_16x16.png') }}"
                        alt=""
                    />
                    {% elseif item.deletePanier %}
                    <img class="btn-aside"
                        style="cursor: pointer;width: 16px;height: 16px;position: absolute;right: 10px;"
                        onclick="{{ item.link_sup }}"
                        src="{{ baseUrl('IconeV2/Gestion/Delete.svg') }}"
                        alt=""
                    />
                    {% endif %}
                    
                </li>
                {% endfor %}
            </ul>
        </div>
        
    {% endif %}
</div>