From 586f122e3b128f701df9f4756f040f7933c48a65 Mon Sep 17 00:00:00 2001 From: tristan Date: Wed, 25 Feb 2026 09:28:55 +0100 Subject: [PATCH] =?UTF-8?q?fix=20:=20correction=20du=20retour=20sur=20la?= =?UTF-8?q?=20liste=20des=20r=C3=A9ceptions=20+=20suppression=20de=20la=20?= =?UTF-8?q?redirection=20apr=C3=A8s=20enregistrement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/pages/reception/update/[[id]].vue | 3 +-- templates/reception_voucher.html.twig | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/pages/reception/update/[[id]].vue b/frontend/pages/reception/update/[[id]].vue index 0236a9f..40b19af 100644 --- a/frontend/pages/reception/update/[[id]].vue +++ b/frontend/pages/reception/update/[[id]].vue @@ -4,7 +4,7 @@
- +

Réception {{ form.identificationNumber }}

@@ -694,7 +694,6 @@ async function validate() { isValidBovin.value = false isValidMerchandise.value = false - await router.push("/reception/finish-reception") return } } diff --git a/templates/reception_voucher.html.twig b/templates/reception_voucher.html.twig index 138fbc4..352e998 100644 --- a/templates/reception_voucher.html.twig +++ b/templates/reception_voucher.html.twig @@ -220,9 +220,15 @@ + {% if reception.receptionType and reception.receptionType.code == 'BOVINS' %} Type de bovins + {% else %} + + Type de marchandises + + {% endif %}

@@ -263,6 +269,9 @@

Aucun dépôt de granulés renseigné.

{% endfor %} {% else %} + {% if reception.merchandiseType %} +

{{ reception.merchandiseType.label }}

+ {% endif %} {% set buildingLabels = [] %} {% for building in reception.buildings|default([]) %} {% set buildingLabels = buildingLabels|merge([building.label]) %}