<form method="post" class="form-default my-base"
    action="{{ path('Commande.GestionCommande.updateDocType', {commandeId: caEntet.NO_CDE}) }}"
    onsubmit="return ajaxSubmit(event)"
    data-onsuccess="successFormDocTypeUpdate"
>
    <input type="hidden" name="commandeId" value="{{ caEntet.NO_CDE }}" />
    <div class="mb-small bs-row">
        <div class="" style="width: 40%">
            {{- 'Type de document de la commande' | trad -}}
        </div>
        <div class="bs-col">
            {{- caEntet.DocType.LIBELLE -}}
        </div>
    </div>
    {{ inputAdvance('SELECT',{
        name: 'typ_doc',
        titre: 'Type de document' | trad,
        listeValue: listDocTypeChoice,
        value: caEntet.DocType.TYPE,
    }) }}
    <span id="zoneError" style="color:red;"></span>
    <div class="mt-base text-right">
        <a class="button secondaire" 
            href="javascript:void(0);"
            data-dismiss="modal"
            onclick="desactivePopup();"
        >
            {{- 'Annuler' | trad -}}
        </a>
        <button type="submit" class="button principal">
            {{- 'Enregistrer' | trad -}}
        </button>
    </div>
</form>