add combine pdf toggle

This commit is contained in:
Pete Matsyburka committed 2024-08-25 16:03:23 +03:00
1 parent 66c44f8ff5
commit b6f307690d
13 files changed
+50 -16

No files matched your search

+1
View File
@@ -40,6 +40,7 @@ class AccountConfig < ApplicationRecord
FLATTEN_RESULT_PDF_KEY = 'flatten_result_pdf'
WITH_SIGNATURE_ID = 'with_signature_id'
REQUIRE_SIGNING_REASON_KEY = 'require_signing_reason'
COMBINE_PDF_RESULT_KEY = 'combine_pdf_result_key'
DEFAULT_VALUES = {
SUBMITTER_INVITATION_EMAIL_KEY => {
+6
View File
@@ -86,4 +86,10 @@ class Submission < ApplicationRecord
ActiveStorage::Blob.proxy_url(audit_trail.blob)
end
alias audit_log_url audit_trail_url
def combined_document_url
return if combined_document.blank?
ActiveStorage::Blob.proxy_url(combined_document.blob)
end
end