archived template preview

This commit is contained in:
Pete Matsyburka
2024-08-26 11:30:52 +03:00
parent 5684baf1e0
commit 57f8f45320
5 changed files with 27 additions and 5 deletions
+2
View File
@@ -107,6 +107,8 @@ safeRegisterElement('template-builder', class extends HTMLElement {
withPayment: this.dataset.withPayment === 'true',
isPaymentConnected: this.dataset.isPaymentConnected === 'true',
withFormula: this.dataset.withFormula === 'true',
withSendButton: this.dataset.withSendButton !== 'false',
withSignYourselfButton: this.dataset.withSignYourselfButton !== 'false',
withConditions: this.dataset.withConditions === 'true',
currencies: (this.dataset.currencies || '').split(',').filter(Boolean),
acceptFileTypes: this.dataset.acceptFileTypes