Custom subject and body

This commit is contained in:
Arc 2026-05-08 19:14:07 +01:00
commit 6768b78c6f
4 changed files with 42 additions and 13 deletions

View file

@ -101,7 +101,9 @@ window.PageEvents = {
allow_fiat: false,
fiat_currency: 'GBP',
extra: {
promo_codes: []
promo_codes: [],
notification_subject: '',
notification_body: ''
}
}
}
@ -197,7 +199,9 @@ window.PageEvents = {
min_tickets: 1,
email_notifications: false,
nostr_notifications: false,
promo_codes: []
promo_codes: [],
notification_subject: '',
notification_body: ''
}
}
}
@ -212,7 +216,9 @@ window.PageEvents = {
extra: {
email_notifications: false,
nostr_notifications: false,
promo_codes: []
promo_codes: [],
notification_subject: '',
notification_body: ''
}
}
},

View file

@ -513,6 +513,24 @@
></q-toggle>
</q-expansion-item>
<q-separator class="q-my-md"></q-separator>
<q-input
filled
dense
v-model.trim="formDialog.data.extra.notification_subject"
type="text"
label="Ticket notification subject"
hint="Used as the email subject when sending paid ticket links."
></q-input>
<q-input
filled
dense
v-model.trim="formDialog.data.extra.notification_body"
type="textarea"
label="Ticket notification body"
hint="Shown before the ticket link in the paid ticket notification."
></q-input>
<div class="row q-mt-lg">
<q-btn
v-if="formDialog.data.id"