adjust payment step

This commit is contained in:
Pete Matsyburka
2024-07-31 22:56:18 +03:00
parent 66bc8cfb5f
commit cf6b378ccb
7 changed files with 98 additions and 15 deletions
+1
View File
@@ -108,6 +108,7 @@ module Submitters
def merge_formula_values(submitter)
computed_values = submitter.submission.template_fields.each_with_object({}) do |field, acc|
next if field['submitter_uuid'] != submitter.uuid
next if field['type'] == 'payment'
formula = field.dig('preferences', 'formula')