diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx index ed7875ab0..839bcdc51 100644 --- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx +++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/preferences/document-preferences.tsx @@ -41,6 +41,7 @@ const ZTeamDocumentPreferencesFormSchema = z.object({ includeSenderDetails: z.boolean(), typedSignatureEnabled: z.boolean(), includeSigningCertificate: z.boolean(), + includeAuditTrailLog: z.boolean(), }); type TTeamDocumentPreferencesFormSchema = z.infer; @@ -72,6 +73,7 @@ export const TeamDocumentPreferencesForm = ({ includeSenderDetails: settings?.includeSenderDetails ?? false, typedSignatureEnabled: settings?.typedSignatureEnabled ?? true, includeSigningCertificate: settings?.includeSigningCertificate ?? true, + includeAuditTrailLog: settings?.includeAuditTrailLog ?? false, }, resolver: zodResolver(ZTeamDocumentPreferencesFormSchema), }); @@ -300,6 +302,37 @@ export const TeamDocumentPreferencesForm = ({ )} /> + ( + + + Include the Audit Trail Log in the Document + + +
+ + + +
+ + + + Controls whether the audit trail log will be included in the document when it is + downloaded. The audit trail log can still be downloaded from the logs page + separately. + + +
+ )} + /> +