From 9fcf5c24f60a3866810499d2a83daa71e71a4800 Mon Sep 17 00:00:00 2001 From: tristan Date: Wed, 17 Jun 2026 17:44:34 +0200 Subject: [PATCH] =?UTF-8?q?feat(transport)=20:=20retour=20au=20r=C3=A9pert?= =?UTF-8?q?oire=20apr=C3=A8s=20validation=20du=20dernier=20onglet=20(cr?= =?UTF-8?q?=C3=A9ation)=20(ERP-172)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/modules/transport/pages/carriers/new.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/modules/transport/pages/carriers/new.vue b/frontend/modules/transport/pages/carriers/new.vue index 40744dc..bd940d6 100644 --- a/frontend/modules/transport/pages/carriers/new.vue +++ b/frontend/modules/transport/pages/carriers/new.vue @@ -525,7 +525,10 @@ function askRemoveContact(index: number): void { deleteConfirm.open = true } -/** Valide l'onglet Prix (POST/PATCH par ligne ; avance gérée par le composable). */ +/** + * Valide l'onglet Prix = DERNIER onglet du flux de création. Au succès, l'ajout est + * terminé : toast final + retour au répertoire transporteurs (aligné sur M1/M2/M3). + */ async function onSubmitPrices(): Promise { const ok = await submitPrices(error => toast.error({ title: t('transport.carriers.toast.error'), @@ -533,6 +536,7 @@ async function onSubmitPrices(): Promise { })) if (ok) { toast.success({ title: t('transport.carriers.toast.priceSaved') }) + await navigateTo('/carriers') } }