diff --git a/src/exams/pdf/test.report.footer.tsx b/src/exams/pdf/test.report.footer.tsx index 3771fee7..e8c493e6 100644 --- a/src/exams/pdf/test.report.footer.tsx +++ b/src/exams/pdf/test.report.footer.tsx @@ -2,7 +2,11 @@ import React from "react"; import { styles } from "./styles"; import { View, Text } from "@react-pdf/renderer"; -const TestReportFooter = () => ( +interface Props { + userId?: string; +} + +const TestReportFooter = ({ userId }: Props) => ( ( - Confidential – circulated for concern people + + Confidential –{" "} + + circulated for concern people + + + {userId && ( + + + User ID:{" "} + {userId} + + + )} Declaration diff --git a/src/exams/pdf/test.report.tsx b/src/exams/pdf/test.report.tsx index 9c409554..df1479d7 100644 --- a/src/exams/pdf/test.report.tsx +++ b/src/exams/pdf/test.report.tsx @@ -124,7 +124,7 @@ const TestReport = ({ - + @@ -165,7 +165,7 @@ const TestReport = ({ - + );