diff --git a/apps/edr-freight-api/src/modules/first-mile/first-mile.service.ts b/apps/edr-freight-api/src/modules/first-mile/first-mile.service.ts index 2d4079a8b..cb35f9a89 100644 --- a/apps/edr-freight-api/src/modules/first-mile/first-mile.service.ts +++ b/apps/edr-freight-api/src/modules/first-mile/first-mile.service.ts @@ -45,7 +45,7 @@ export class FirstMileService { * unknown or the booking has not reached PAID status. */ async acceptBooking(bookingReference: string): Promise { - const booking = await this.bookingsRepository.findById(bookingReference); + const booking = await this.bookingsRepository.findByReference(bookingReference); if (!booking) { return null; diff --git a/apps/edr-freight-web/backoffice/src/pages/fleet/FleetResourcePage.tsx b/apps/edr-freight-web/backoffice/src/pages/fleet/FleetResourcePage.tsx index 5be9f1e56..f45a35f34 100644 --- a/apps/edr-freight-web/backoffice/src/pages/fleet/FleetResourcePage.tsx +++ b/apps/edr-freight-web/backoffice/src/pages/fleet/FleetResourcePage.tsx @@ -360,7 +360,7 @@ const FleetResourcePage = () => { {config.subtitle} - )} - @@ -734,6 +734,7 @@ const FirstMilePage = () => { key={option.value} size="xs" variant={active ? "filled" : "default"} + styles={{ label: { fontWeight: 500 } }} onClick={() => { setStatusFilter(option.value); setPagination((p) => ({ ...p, pageIndex: 0 })); diff --git a/apps/edr-freight-web/backoffice/src/pages/operations/LastMilePage.tsx b/apps/edr-freight-web/backoffice/src/pages/operations/LastMilePage.tsx index 7a68e447b..f7807f90a 100644 --- a/apps/edr-freight-web/backoffice/src/pages/operations/LastMilePage.tsx +++ b/apps/edr-freight-web/backoffice/src/pages/operations/LastMilePage.tsx @@ -629,11 +629,11 @@ const LastMilePage = () => { /> {selectedIds.length > 0 && ( - )} - @@ -646,6 +646,7 @@ const LastMilePage = () => { key={option.value} size="xs" variant={active ? "filled" : "default"} + styles={{ label: { fontWeight: 500 } }} onClick={() => { setStatusFilter(option.value); setPagination((p) => ({ ...p, pageIndex: 0 }));