From 20e0c84035156d635b8e2fc55d8034aca426bcce Mon Sep 17 00:00:00 2001 From: pablone Date: Fri, 14 Jun 2024 13:10:47 +0200 Subject: [PATCH] fix: refs #7129 fix module routes --- src/i18n/locale/en.yml | 2 +- src/pages/Claim/Card/ClaimLines.vue | 2 +- src/pages/Route/Roadmap/RoadmapSummary.vue | 3 ++- src/pages/Route/RouteAutonomous.vue | 16 ++++++++++++---- src/pages/Route/RouteRoadmap.vue | 3 ++- 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 65a0dd3df..5f57d2707 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -992,7 +992,7 @@ route: viewCmr: View CMR downloadCmrs: Download CMRs columnLabels: - ID: Id + Id: Id vehicle: Vehicle description: Description isServed: Served diff --git a/src/pages/Claim/Card/ClaimLines.vue b/src/pages/Claim/Card/ClaimLines.vue index 52fbfca98..4f2f6daf0 100644 --- a/src/pages/Claim/Card/ClaimLines.vue +++ b/src/pages/Claim/Card/ClaimLines.vue @@ -122,7 +122,7 @@ async function fetchMana() { } async function updateDiscount({ saleFk, discount, canceller }) { - const body = { salesIds: [saleFk], newDiscount: discount }; + const body = { salesIds: [saleFk], newDiscount: discount, manaCode: 'mana' }; const claimId = claim.value.ticketFk; const query = `Tickets/${claimId}/updateDiscount`; diff --git a/src/pages/Route/Roadmap/RoadmapSummary.vue b/src/pages/Route/Roadmap/RoadmapSummary.vue index e9969c2f7..6c397bcc1 100644 --- a/src/pages/Route/Roadmap/RoadmapSummary.vue +++ b/src/pages/Route/Roadmap/RoadmapSummary.vue @@ -67,6 +67,7 @@ const filter = { }, }, ], + where: { id: entityId }, }; const openAddStopDialog = () => { @@ -84,7 +85,7 @@ const openAddStopDialog = () => {