diff --git a/src/app/(app)/quotes/page.tsx b/src/app/(app)/quotes/page.tsx index c4bb237..75d293f 100644 --- a/src/app/(app)/quotes/page.tsx +++ b/src/app/(app)/quotes/page.tsx @@ -410,14 +410,31 @@ export default function QuotesPage() { ), }, { + // Customer column also carries the Company underneath as a + // small muted sub-line — collapses the row width by ~120 px + // and makes the list easier to scan when the operator is + // visual-eyeballing who's-who across many rows. key: "customer", label: "Customer", - render: (item: Quote) => {item.expand?.customer?.customer || "—"}, - }, - { - key: "company", - label: "Company", - render: (item: Quote) => {item.expand?.company?.company || "—"}, + render: (item: Quote) => { + const customerName = item.expand?.customer?.customer; + const companyName = item.expand?.company?.company; + if (!customerName && !companyName) { + return —; + } + return ( +
- {item.expand?.customer?.customer || "—"} -
++ {item.expand?.customer?.customer || "—"} +
+ {item.expand?.company?.company ? ( ++ {item.expand.company.company} +
+ ) : null} +