    <details class="block_edition" open>
        <summary class="titre_block">
            {{ 'Commande' | trad }}
        </summary>
        <div class="relative">
            <div class="colonne3">
                <div class="informations">
                    <p>
                        <span class="champs_label">{{ 'N° commande' | trad }}</span>
                        <span class="resultat">{{ commande.NO_CDE }}</span>
                    </p>
                    <p>
                        <span class="champs_label">{{ 'Fournisseur' | trad }}</span>
                        <span class="resultat">{{ commande.RS }} {% if commande.CODE_FOU | trim %}({{ commande.CODE_FOU }}){% endif %}</span>
                    </p>
                    <p>
                        <span class="champs_label">{{ 'Société' | trad }}</span>
                        <span class="resultat">{{ commande.RAIS_SOC }} {% if commande.CODE_STE | trim %}({{ commande.CODE_STE }}){% endif %}</span>
                    </p>
                </div>
            </div>
            <div class="colonne3">
                <div class="informations">
                    <p>
                        <span class="champs_label">{{ 'Type' | trad }}</span>
                        <span class="resultat">{{ commande.LIB_TYPEDOC }} {% if commande.TYP_DOC | trim %}({{ commande.TYP_DOC }}){% endif %}</span>
                    </p>
                    <p>
                        <span class="champs_label">{{ 'Enregistrée le' | trad }}</span>
                        <span class="resultat">{{ commande.DTE_CREAT | dateTrad }}</span>
                    </p>
                    <p>
                        <span class="champs_label">{{ 'Validée le' | trad }}</span>
                        <span class="resultat">{{ commande.DTE_VALID | dateTrad }}</span>
                    </p>
                </div>
            </div>
            <div class="colonne3 last">
                <div class="informations">
                    <p>
                        <span class="champs_label">{{ 'Montant HT' | trad }}</span>
                        <span class="resultat">{{ commande.TOT_CDEHT | tva  }} {{ commande.DEVISE }}</span>
                    </p>
                    <p>
                        <span class="champs_label">{{ 'Montant TTC' | trad }}</span>
                        <span class="resultat">{{ commande.TOT_TTC | tva }} {{ commande.DEVISE }}</span>
                    </p>
                    <p>
                        <span class="champs_label">{{ 'Etat physique' | trad }}</span>
                        <span class="resultat">{{ getCdeStatutLabel(commande) }}</span>
                    </p>
                </div>
            </div>
            {% if not hideMenuContextuel %}
                <div style="position: absolute; top: 10px; right: 10px">
                    {{ menuContextuel('main-content', false, commande.menuContextuel) }}
                </div>
            {% endif %}
        </div>
    </details>

    <script>
        function validateCommande(path, noCde, avenant)
        {
            messageAveant = '';
            if (avenant) {
                messageAveant = ' - '+avenant;
            }

            activeLoader();
            $.ajax({
                url: path,
                type: 'POST',
                dataType: 'html',
                success: function (data) {
                    desactiveLoader();
                    $("#modal-content").addClass("modal_small");
                    $("#modal-body").html(data);
                    $("#modal-title").html('{{ 'Validation commande N°' | trad }} '+noCde+messageAveant);

                    activePopup();
                },
                error: function (data){
                    location.reload();
                }
            });
        }
    </script>