diff --git a/teressa-copeland-homes/src/app/portal/_components/DocumentsTable.tsx b/teressa-copeland-homes/src/app/portal/_components/DocumentsTable.tsx index 0e7b7b5..6ad43d2 100644 --- a/teressa-copeland-homes/src/app/portal/_components/DocumentsTable.tsx +++ b/teressa-copeland-homes/src/app/portal/_components/DocumentsTable.tsx @@ -9,6 +9,9 @@ type DocumentRow = { sentAt: Date | null; signedAt: Date | null; clientId: string; + signedCount?: number | null; + totalSigners?: number | null; + hasMultipleSigners?: boolean; }; type Props = { rows: DocumentRow[]; showClientColumn?: boolean }; @@ -62,6 +65,11 @@ export function DocumentsTable({ rows, showClientColumn = true }: Props) { )} + {row.hasMultipleSigners && row.status === "Sent" && row.totalSigners != null && row.totalSigners > 0 && ( + + {row.signedCount ?? 0}/{row.totalSigners} signed + + )} {row.sentAt