From d87d4c5749540632339d41cc3d5be99f9cf6c2ff Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 00:24:39 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/components/cases/collections-tab.tsx | 8 ++++- src/routes/collections.$collectionId.tsx | 42 ++++++++++++++++++++++++ src/routes/collections.index.tsx | 4 ++- 3 files changed, 52 insertions(+), 2 deletions(-) diff --git a/src/components/cases/collections-tab.tsx b/src/components/cases/collections-tab.tsx index 1e7904d..d6d0e57 100644 --- a/src/components/cases/collections-tab.tsx +++ b/src/components/cases/collections-tab.tsx @@ -77,6 +77,7 @@ import { import { SortableLedgerRow } from "./ledger-row"; import { ApplyCollectionWorkflowDialog } from "@/components/collections/apply-collection-workflow-dialog"; import { MergeCollectionsDialog } from "./merge-collections-dialog"; +import { StatusFlagBadges } from "@/components/collections/status-flag-badges"; const TXN_TYPES = [ { value: "assessment", label: "Assessment" }, @@ -303,7 +304,12 @@ export function CaseCollectionsTab({ onClick={() => setActiveId(c.id)} > - {c.homeowner?.last_name}, {c.homeowner?.first_name} + + + {c.homeowner?.last_name}, {c.homeowner?.first_name} + + + {c.homeowner?.unit_number || "—"} diff --git a/src/routes/collections.$collectionId.tsx b/src/routes/collections.$collectionId.tsx index a8665e3..7e62441 100644 --- a/src/routes/collections.$collectionId.tsx +++ b/src/routes/collections.$collectionId.tsx @@ -67,6 +67,7 @@ import { SearchableSelect } from "@/components/ui/searchable-select"; import { toast } from "sonner"; import { spawnNextCollectionWorkflowTask } from "@/lib/workflow-chain"; import { ApplyCollectionWorkflowDialog } from "@/components/collections/apply-collection-workflow-dialog"; +import { StatusFlagBadges } from "@/components/collections/status-flag-badges"; export const Route = createFileRoute("/collections/$collectionId")({ component: CollectionDetailRoute, @@ -356,8 +357,49 @@ function CollectionDetailRoute() { Closed{collection.closed_at ? ` · ${formatDate(collection.closed_at)}` : ""} )} +
+ +