From d88e2dc0d1593aa628fd6bd3c53535c92036e893 Mon Sep 17 00:00:00 2001 From: DEls Date: Mon, 26 Oct 2026 19:57:24 +0200 Subject: [PATCH] fix(dn): inbox 3 table gives the descriptions room at laptop width Stack the slip line over its PO line picker in one column and show value with left-on-PO beneath it, so every column fits beside a 300px documents column without horizontal scroll. Co-Authored-By: Claude Opus 5.5 --- .../inbox-3/inbox-three-workspace.tsx | 2 +- .../delivery-notes/inbox-3/line-table.tsx | 29 +++++++++---------- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/src/app/dashboard/financial/delivery-notes/inbox-3/inbox-three-workspace.tsx b/src/app/dashboard/financial/delivery-notes/inbox-3/inbox-three-workspace.tsx index 0334c24..16b1396 100644 --- a/src/app/dashboard/financial/delivery-notes/inbox-3/inbox-three-workspace.tsx +++ b/src/app/dashboard/financial/delivery-notes/inbox-3/inbox-three-workspace.tsx @@ -74,7 +74,7 @@ export function InboxThreeWorkspace(props: InboxThreeWorkspaceProps) { -
+
- + {/* The slip line and its PO line share one column, stacked, so + the descriptions keep the width and the numbers stay narrow. */} + - - - + - # - On the slip - Goes to PO line + # + On the slip → goes to PO line Received Unit Price - Value - Left on PO + Value · left on PO @@ -179,8 +177,7 @@ export function LineTable({ {row.slipPrice !== null && ` × ${money(row.slipPrice)}`}

{row.problem &&

{row.problem}

} - - +
price differs )} - {money(numbers.value)} - - {numbers.leftOnPo === null ? "—" : formatNumber(numbers.leftOnPo)} - +

{money(numbers.value)}

+

+ left {numbers.leftOnPo === null ? "—" : formatNumber(numbers.leftOnPo)} +

{over && (