adjust payment connected

This commit is contained in:
Pete Matsyburka committed 2024-03-29 23:24:51 +02:00
1 parent de072d1437
commit 8269a61751
3 files changed
+10 -1

No files matched your search

+1
View File
@@ -93,6 +93,7 @@ window.customElements.define('template-builder', class extends HTMLElement {
editable: this.dataset.editable !== 'false',
authenticityToken: document.querySelector('meta[name="csrf-token"]')?.content,
withPayment: this.dataset.withPayment === 'true',
isPaymentConnected: this.dataset.isPaymentConnected === 'true',
withFormula: this.dataset.withFormula === 'true',
withConditions: this.dataset.withConditions === 'true',
currencies: (this.dataset.currencies || '').split(',').filter(Boolean),