{% extends '@ajax-layout/layout.twig' %}

{% block body %}
    <div class="colonne2">
        <div class="informations">
            <p>
                <span class="champs_label">{{ 'Quantité physique' | trad }}</span>
                <span class="resultat text-right">{{  stockArticle.QTE_PHY | qte ~ ' ' ~ stockArticle.UNITE_STK }}</span>
            </p>
            <p>
                <span class="champs_label">{{ 'Quantité réservée' | trad }}</span>
                <span class="resultat text-right">{{  stockArticle.QTE_RES | qte ~ ' ' ~ stockArticle.UNITE_STK }}</span>
            </p>
            <p>
                <span class="champs_label">{{ 'Quantité indisponible' | trad }}</span>
                <span class="resultat text-right">{{  stockArticle.QTE_INDIS | qte ~ ' ' ~ stockArticle.UNITE_STK }}</span>
            </p>
            <p>
                <span class="champs_label">{{ 'Quantité en transfert' | trad }}</span>
                <span class="resultat text-right">{{  stockArticle.QTE_TRF | qte ~ ' ' ~ stockArticle.UNITE_STK }}</span>
            </p>
            <p>
                <span class="champs_label">{{ 'Quantité en réappro' | trad }}</span>
                <span class="resultat text-right">{{  stockArticle.QTE_REAP | qte ~ ' ' ~ stockArticle.UNITE_STK }}</span>
            </p>
            <p>
                <span class="champs_label">{{ 'Dont en commande' | trad }}</span>
                <span class="resultat text-right">{{  stockArticle.QTE_LIV | qte ~ ' ' ~ stockArticle.UNITE_STK }}</span>
            </p>
            <p>
                <span class="champs_label">{{ 'Dont en acheminement' | trad }}</span>
                <span class="resultat text-right">{{  stockArticle.QTE_ACHEM | qte ~ ' ' ~ stockArticle.UNITE_STK }}</span>
            </p>
        </div>
    </div>
    <div class="colonne2 last">
        <div class="informations">
            {% if is_prix_visible() %}
                <p>
                    <span class="champs_label">{{ 'Valeur unitaire' | trad }}</span>
                    <span class="resultat text-right">{{  stockArticle.VALEUR | number_format(5, '.', '') ~ ' ' ~ societe.DEVISE }}</span>
                </p>
            {% endif %}
            <p>
                <span class="champs_label">{{ 'Quantité Disponible' | trad }}</span>
                <span class="resultat text-right">
                    {{  qte_stock_article_disponible(stockArticle, stockGlobal) | qte ~ ' ' ~ stockArticle.UNITE_STK }}
                </span>
            </p>
        </div>
    </div>
{% endblock %}