diff --git a/teressa-copeland-homes/src/app/portal/(protected)/documents/[docId]/_components/PdfViewer.tsx b/teressa-copeland-homes/src/app/portal/(protected)/documents/[docId]/_components/PdfViewer.tsx index b9604db..d47cd20 100644 --- a/teressa-copeland-homes/src/app/portal/(protected)/documents/[docId]/_components/PdfViewer.tsx +++ b/teressa-copeland-homes/src/app/portal/(protected)/documents/[docId]/_components/PdfViewer.tsx @@ -25,7 +25,7 @@ export function PdfViewer({ docId, docStatus }: { docId: string; docStatus?: str const [scale, setScale] = useState(1.0); const [pageInfo, setPageInfo] = useState(null); - const readOnly = docStatus === 'Sent' || docStatus === 'Signed'; + const readOnly = docStatus !== 'Draft'; return (
@@ -57,13 +57,15 @@ export function PdfViewer({ docId, docStatus }: { docId: string; docStatus?: str > Zoom Out - - Download - + {docStatus !== 'Signed' && ( + + Download + + )}
{/* PDF canvas wrapped in FieldPlacer for drag-and-drop field placement */}