From 64150acdcaf4a1cac0de79b73e9c8fb4ce885612 Mon Sep 17 00:00:00 2001 From: Marshal Date: Fri, 7 Aug 2026 08:44:03 +0000 Subject: [PATCH] issue fix --- .../pages/contracts/ClearanceDocumentsPage.tsx | 8 ++++---- .../contracts/ContractClearanceListPage.tsx | 16 ++++++---------- .../contracts/GlDjiboutiClearanceListPage.tsx | 14 ++++++-------- 3 files changed, 16 insertions(+), 22 deletions(-) diff --git a/apps/edr-freight-web/backoffice/src/pages/contracts/ClearanceDocumentsPage.tsx b/apps/edr-freight-web/backoffice/src/pages/contracts/ClearanceDocumentsPage.tsx index 8a7949410..ca4ed18ce 100644 --- a/apps/edr-freight-web/backoffice/src/pages/contracts/ClearanceDocumentsPage.tsx +++ b/apps/edr-freight-web/backoffice/src/pages/contracts/ClearanceDocumentsPage.tsx @@ -161,10 +161,10 @@ export default function ClearanceDocumentsPage() {
-

+

{customer}

-

+

{b.reference}

@@ -182,7 +182,7 @@ export default function ClearanceDocumentsPage() { ) : ( @@ -409,7 +409,7 @@ export default function ClearanceDocumentsPage() { manualPagination: true, pageCount, }} - containerClassName="border-0 shadow-none bg-transparent" + containerClassName="border-0 shadow-none bg-transparent [&_th]:max-w-[100px] [&_td]:max-w-[100px] [&_td]:break-words" footer={DataTableFooter} /> diff --git a/apps/edr-freight-web/backoffice/src/pages/contracts/ContractClearanceListPage.tsx b/apps/edr-freight-web/backoffice/src/pages/contracts/ContractClearanceListPage.tsx index 3d1e20bb6..8719f644a 100644 --- a/apps/edr-freight-web/backoffice/src/pages/contracts/ContractClearanceListPage.tsx +++ b/apps/edr-freight-web/backoffice/src/pages/contracts/ContractClearanceListPage.tsx @@ -393,10 +393,10 @@ function ShipmentBookingsTable({
-

+

{row.original.reference}

-

+

{row.original.customerLabel}

@@ -413,7 +413,7 @@ function ShipmentBookingsTable({ - + {r.contractReference ?? "—"} @@ -431,13 +431,9 @@ function ShipmentBookingsTable({ header: () => Route, cell: ({ row }) => ( - - {row.original.originLabel} - + {row.original.originLabel} - - {row.original.destinationLabel} - + {row.original.destinationLabel} ), }, @@ -610,7 +606,7 @@ function ShipmentBookingsTable({ data={rows} status={loading ? "loading" : error ? "error" : "success"} onRowClick={(row) => onOpen(row.id)} - containerClassName="border-0 shadow-none bg-transparent" + containerClassName="border-0 shadow-none bg-transparent [&_th]:max-w-[100px] [&_td]:max-w-[100px] [&_td]:break-words" /> ); diff --git a/apps/edr-freight-web/backoffice/src/pages/contracts/GlDjiboutiClearanceListPage.tsx b/apps/edr-freight-web/backoffice/src/pages/contracts/GlDjiboutiClearanceListPage.tsx index c82cfd152..77ad33f56 100644 --- a/apps/edr-freight-web/backoffice/src/pages/contracts/GlDjiboutiClearanceListPage.tsx +++ b/apps/edr-freight-web/backoffice/src/pages/contracts/GlDjiboutiClearanceListPage.tsx @@ -226,11 +226,11 @@ function RouteCell({ return ( - + {origin} - + {destination} @@ -385,10 +385,10 @@ export default function GlDjiboutiClearanceListPage() {
-

+

{r.reference}

-

+

{r.customerLabel}

@@ -403,9 +403,7 @@ export default function GlDjiboutiClearanceListPage() { cell: ({ row }) => ( - - {row.original.contractReference} - + {row.original.contractReference} ), }, @@ -710,7 +708,7 @@ export default function GlDjiboutiClearanceListPage() { manualPagination: true, pageCount, }} - containerClassName="border-0 shadow-none bg-transparent" + containerClassName="border-0 shadow-none bg-transparent [&_th]:max-w-[100px] [&_td]:max-w-[100px] [&_td]:break-words" footer={DataTableFooter} />