fix formula condition

This commit is contained in:
Pete Matsyburka
2025-02-20 11:59:29 +02:00
parent 6f3be16826
commit 3affa65571
4 changed files with 26 additions and 6 deletions
+1 -1
View File
@@ -1037,7 +1037,7 @@ export default {
}, [])
},
formulaFields () {
return this.fields.filter((f) => f.preferences?.formula && f.type !== 'payment')
return this.fields.filter((f) => f.preferences?.formula && f.type !== 'payment' && this.checkFieldConditions(f) && this.checkFieldDocumentsConditions(f))
},
attachmentsIndex () {
return this.attachments.reduce((acc, a) => {