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
+2 -1
View File
@@ -388,6 +388,7 @@
v-model="values[currentField.uuid]"
:field="currentField"
:submitter-slug="submitterSlug"
:values="values"
@attached="attachments.push($event)"
@focus="scrollIntoField(currentField)"
@submit="submitStep"
@@ -808,7 +809,7 @@ export default {
}, [])
},
formulaFields () {
return this.fields.filter((f) => f.preferences?.formula)
return this.fields.filter((f) => f.preferences?.formula && f.type !== 'payment')
},
attachmentsIndex () {
return this.attachments.reduce((acc, a) => {