mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
adjust payment step
This commit is contained in:
1 parent
66bc8cfb5f
commit
cf6b378ccb
7 files changed
+98
-15
No files matched your search
@@ -94,6 +94,7 @@
|
||||
:field="field"
|
||||
@click-condition="isShowConditionsModal = true"
|
||||
@click-description="isShowDescriptionModal = true"
|
||||
@click-formula="isShowFormulaModal = true"
|
||||
/>
|
||||
<span
|
||||
v-else-if="field.type !== 'heading'"
|
||||
@@ -345,7 +346,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
buildDefaultName (field, fields) {
|
||||
if (field.type === 'payment' && field.preferences?.price) {
|
||||
if (field.type === 'payment' && field.preferences?.price && !field.preferences?.formula) {
|
||||
const { price, currency } = field.preferences || {}
|
||||
|
||||
const formattedPrice = new Intl.NumberFormat([], {
|
||||
|
||||
Reference in new issue
Block a user