feat(transport) : upload décharge + i18n transporteur (ERP-171) #130

Merged
tristan merged 10 commits from feat/erp-171-carrier-upload-i18n into develop 2026-06-18 08:50:16 +00:00
Showing only changes of commit 9fcf5c24f6 - Show all commits
@@ -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<void> {
const ok = await submitPrices(error => toast.error({
title: t('transport.carriers.toast.error'),
@@ -533,6 +536,7 @@ async function onSubmitPrices(): Promise<void> {
}))
if (ok) {
toast.success({ title: t('transport.carriers.toast.priceSaved') })
await navigateTo('/carriers')
}
}