<div id="menu-panier" >
    {% if panier.has_panier %}
        {# TODO V12 #}
        {# <a  class="btn-menuprofile" href="{{ path('Panier.Panier.index') }}"></a> #}
        <div onclick="transfertInformationAncienFramework('{{ 'CallUrl("panier_ong_2.php?OBJECT=relance");' | url_encode }}')"
            class="btn-menuprofile"
        ></div>
        <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:'#' }}" 
                        onclick="transfertInformationAncienFramework('{{ item.link? (item.link | url_encode):'' }}');"
                    >
                        {{- item.label | trad -}}
                        {% 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"
                        onclick="transfertInformationAncienFramework('{{ item.link_sup | url_encode}}');"
                        style="position: absolute;right: 10px;"
                        src="{{ baseUrl('IconeV2/Misc/picto_supprimer_16x16.png') }}"
                        alt=""
                    />
                    {% elseif item.deletePanier %}
                    <img class="btn-aside"
                        onclick="{{ item.link_sup }}"
                        style="position: absolute;right: 10px;"
                        src="{{ baseUrl('IconeV2/Misc/picto_supprimer_16x16.png') }}"
                        alt=""
                    />
                    {% endif %}
                    
                </li>
                {% endfor %}
            </ul>
        </div>
        
    {% endif %}
</div>