From 6239358bf298b04e4642b1807b0246c1a4703001 Mon Sep 17 00:00:00 2001 From: yaschalew Date: Wed, 24 Jun 2026 16:56:02 +0300 Subject: [PATCH 1/2] fix url --- apps/edr-freight-web/backoffice/src/constants/apiConfig.ts | 4 ++-- apps/edr-freight-web/portal/src/constants/apiConfig.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/edr-freight-web/backoffice/src/constants/apiConfig.ts b/apps/edr-freight-web/backoffice/src/constants/apiConfig.ts index a7c8670cf..030b051a1 100644 --- a/apps/edr-freight-web/backoffice/src/constants/apiConfig.ts +++ b/apps/edr-freight-web/backoffice/src/constants/apiConfig.ts @@ -1,3 +1,3 @@ -// export const API_BASE_URL = 'https://edrfreightapi.triaplc.com'; +export const API_BASE_URL = 'https://edrfreightapi.triaplc.com'; -export const API_BASE_URL = 'http://localhost:3001'; +// export const API_BASE_URL = 'http://localhost:3001'; diff --git a/apps/edr-freight-web/portal/src/constants/apiConfig.ts b/apps/edr-freight-web/portal/src/constants/apiConfig.ts index fc9f57a58..dce8aad63 100644 --- a/apps/edr-freight-web/portal/src/constants/apiConfig.ts +++ b/apps/edr-freight-web/portal/src/constants/apiConfig.ts @@ -1,3 +1,3 @@ -// export const API_BASE_URL = 'https://edrfreightapi.triaplc.com'; -export const API_BASE_URL = 'http://localhost:3001'; +export const API_BASE_URL = 'https://edrfreightapi.triaplc.com'; +// export const API_BASE_URL = 'http://localhost:3001'; From 28675cd5dc0976976e514b9a2a0b6f404bcccfe9 Mon Sep 17 00:00:00 2001 From: yaschalew Date: Wed, 24 Jun 2026 17:05:25 +0300 Subject: [PATCH 2/2] fix vehicle --- .../backoffice/src/pages/fleet/config/vehicles.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/edr-freight-web/backoffice/src/pages/fleet/config/vehicles.ts b/apps/edr-freight-web/backoffice/src/pages/fleet/config/vehicles.ts index 3e220040f..fc646a8bc 100644 --- a/apps/edr-freight-web/backoffice/src/pages/fleet/config/vehicles.ts +++ b/apps/edr-freight-web/backoffice/src/pages/fleet/config/vehicles.ts @@ -63,8 +63,8 @@ export const vehiclesConfig: FleetResourceConfig = { ], formFields: [ { name: "code", label: "Code", type: "text" }, - { name: "plateNumber", label: "Plate Number", type: "text", required: true }, - { name: "powerPlateNo", label: "Power Plate No", type: "text" }, + { name: "plateNumber", label: "Power Plate No", type: "text", required: true }, + // { name: "powerPlateNo", label: "Power Plate No", type: "text" }, { name: "trailerPlateNo", label: "Trailer Plate No", type: "text" }, { name: "vehicleType", label: "Vehicle Type", type: "select", required: true, options: VEHICLE_TYPE_OPTIONS }, { name: "manufacturer", label: "Manufacturer", type: "text", required: true },