From ad297b763a1a047a4938083dc3dd1ebc1c87b44c Mon Sep 17 00:00:00 2001 From: Bhagwan Singh Date: Mon, 8 Jun 2026 13:07:20 +0530 Subject: [PATCH] Minor Fixes + Download Audit added --- src/components/client/CompletionScreen.tsx | 97 +++++++------ src/components/client/ConsentScreen.tsx | 15 +- src/components/client/SignDocument.tsx | 8 +- src/components/client/TagsCon.tsx | 131 +++++++++--------- .../processStepTwo/DocumentContainer.tsx | 4 +- src/helper/handleDownloadDocumentRecSide.ts | 61 +++++--- 6 files changed, 178 insertions(+), 138 deletions(-) diff --git a/src/components/client/CompletionScreen.tsx b/src/components/client/CompletionScreen.tsx index f7b0ef7..8b15677 100644 --- a/src/components/client/CompletionScreen.tsx +++ b/src/components/client/CompletionScreen.tsx @@ -79,11 +79,18 @@ const CompletionScreen: React.FC = ({ {message}

-

{ handleDownloadDocument(recipientId || "") }} - className="text-white bg-[var(--mainPrimaryBtn)] px-3 py-2 rounded-sm mt-4 cursor-pointer"> - Download Signed Documents -

+
+

{ handleDownloadDocument(recipientId || "") }} + className="text-white bg-[var(--mainPrimaryBtn)] px-3 py-2 rounded-sm mt-4 cursor-pointer"> + Download Signed Documents +

+

{ handleDownloadDocument(recipientId || "", true) }} + className="text-white bg-[var(--mainPrimaryBtn)] px-3 py-2 rounded-sm mt-4 cursor-pointer"> + Download Audit +

+
{/* - - + > + Try Now + + + - {/* Docs Made Easy */} -
-

- Generate Documents (Invoices, Reports, Quotes) -

+ {/* Docs Made Easy */} +
+

+ Generate Documents (Invoices, Reports, Quotes) +

-
- Docs Made Easy +
+ Docs Made Easy - -
-
+ > + Try Now + +
+
- + diff --git a/src/components/client/ConsentScreen.tsx b/src/components/client/ConsentScreen.tsx index 5628ba0..ec5bd0c 100644 --- a/src/components/client/ConsentScreen.tsx +++ b/src/components/client/ConsentScreen.tsx @@ -14,11 +14,14 @@ export default function ConsentScreen({ onConsent, onDecline }: ConsentScreenPro return ( <> -
-
-
+ {/* Glassmorphism backdrop */} +
+ + {/* Modal container */} +
+
{/* Header */} -
+

Consent for E-Signature @@ -27,7 +30,7 @@ export default function ConsentScreen({ onConsent, onDecline }: ConsentScreenPro {/* Info */}
- +

By providing your electronic signature, you agree that it is the legal equivalent of your manual signature on this document. Please review the @@ -51,7 +54,7 @@ export default function ConsentScreen({ onConsent, onDecline }: ConsentScreenPro {/* Buttons */}