{% do setAriane(1, 'Annuler facture' | trad) %}
{% extends 'layout.twig' %}
{% block body %}

<form class="contenu form-default" method="POST"
    action="{{ path('Facture.Facture.annuler', {numFact: numFact}) }}"
    onsubmit="return ajaxSubmit(event)"
    data-onsuccess="arianePop"
>
    <h1>{{ 'Factures' | trad }}</h1>

    {{ ariane() }}

    <header class="bs-row">
        <h2 class="bs-col">{{ strBuild(
            'Annuler la facture N°@1@' | trad,
            [numFact]
        ) }}</h2>
        <div class="bs-col-auto mr-auto text-right">
            {% include '@G/Component/_btnAnnuler.twig' %}
            <button type="submit" class="button principal">
                {{- 'Enregistrer' | trad }}</button>
        </div>
    </header>

    {{ formInput(form.rectificative, {}) }}
</form>
{% endblock %}