mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
fix payment field value
This commit is contained in:
1 parent
002bc315f6
commit
8a50c755d2
1 file changed
+1
-1
@@ -67,7 +67,7 @@ module Submitters
|
||||
end
|
||||
|
||||
def fetch_field_value(field, value, attachments_index)
|
||||
if field['type'].in?(%w[image signature initials stamp])
|
||||
if field['type'].in?(%w[image signature initials stamp payment])
|
||||
rails_storage_proxy_url(attachments_index[value])
|
||||
elsif field['type'] == 'file'
|
||||
Array.wrap(value).compact_blank.filter_map { |e| rails_storage_proxy_url(attachments_index[e]) }
|
||||
|
||||
Reference in new issue
Block a user