{% extends 'app/base.html.twig' %} {% block title %}{{ cession ? 'Modifier la cession' : 'Nouvelle cession' }} — GestRestoSco{% endblock %} {% block body %} {# ── En-tête ─────────────────────────────────────────────────────────── #}

{{ cession ? 'Modifier la cession #' ~ cession.id : 'Nouvelle cession inter-services' }}

Retour
{# ── En-tête de la cession ───────────────────────────────────────── #}
Informations générales
{% for entite in entites %}
{# ── Lignes de détail ────────────────────────────────────────────── #}
Détail des matières cédées
{% for i, ligne in lignes %} {% else %} {# Ligne vide par défaut #} {% endfor %}
Description Quantité Unité Prix ↕ HT/TTC TVA % Montant HT Montant TTC
{# Champ HT réel (toujours soumis) #} {# Champ visible : HT par défaut #}
{{ ligne.montant_ht|number_format(2, ',', ' ') }} {{ ligne.montant_ttc|number_format(2, ',', ' ') }}
0,00 0,00
TOTAL 0,00 0,00
{% for u in unites %}
Annuler
{% endblock body %} {% block javascripts %} {{ parent() }} {% endblock %}