diff --git a/apps/web/pages/documents/[id]/signed.tsx b/apps/web/pages/documents/[id]/signed.tsx index 6950dd1c8..413c360ca 100644 --- a/apps/web/pages/documents/[id]/signed.tsx +++ b/apps/web/pages/documents/[id]/signed.tsx @@ -1,12 +1,17 @@ import prisma from "@documenso/prisma"; import Head from "next/head"; import { NextPageWithLayout } from "../../_app"; -import { ReadStatus } from "@prisma/client"; -import { CheckBadgeIcon } from "@heroicons/react/24/outline"; -import { Button } from "@documenso/ui"; +import { ArrowDownTrayIcon, CheckBadgeIcon } from "@heroicons/react/24/outline"; +import { Button, IconButton } from "@documenso/ui"; import Link from "next/link"; +import { useRouter } from "next/router"; const SignPage: NextPageWithLayout = (props: any) => { + const router = useRouter(); + const allRecipientsSigned = props.document.Recipient?.every( + (r: any) => r.signingStatus === "SIGNED" + ); + return ( <>
@@ -20,9 +25,34 @@ const SignPage: NextPageWithLayout = (props: any) => {You signed "{props.document.title}"
-+
You will be notfied when all recipients have signed.
++ All recipients signed. +
+