This commit is contained in:
Pete Matsyburka committed 2026-01-02 17:02:45 +02:00
1 parent c55036a1b1
commit b10ed46ccc
20 files changed
+639 -28

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ module Submitters
end
def fetch_field_value(field, value, attachments_index, expires_at: nil)
if field['type'].in?(%w[image signature initials stamp payment])
if field['type'].in?(%w[image signature initials stamp payment kba])
rails_storage_proxy_url(attachments_index[value], expires_at:)
elsif field['type'] == 'file'
Array.wrap(value).compact_blank.filter_map { |e| rails_storage_proxy_url(attachments_index[e], expires_at:) }