Comments for invoices

This commit is contained in:
2026-05-14 16:16:36 +02:00
parent c60429ad28
commit 775d9158a6
11 changed files with 41 additions and 14 deletions
@@ -41,6 +41,7 @@ const decision = ref('')
const errorMsg = ref('')
const confirmation = ref(null)
const receiptError = ref('')
const notices = ref('')
async function sendData() {
if (!userName.value) return
@@ -62,6 +63,7 @@ async function sendData() {
formData.append('havePassengers', props.havePassengers ? 1 : 0)
formData.append('materialTransportation', props.materialTransportation ? 1 : 0)
formData.append('travelReason', props.travelReason)
formData.append('notices', notices.value)
if (props.receipt) {
formData.append('receipt', props.receipt)
@@ -121,6 +123,15 @@ async function sendData() {
name="contact_telephone" v-model="userTelephone"
style="font-size: 14pt; width: 550px;" /><br /><br />
<label v-if="userName !== ''">
<strong>Weitere Informationen zur Abrechnung (Max. 128 Zeichen):</strong>
</label><br />
<textarea
id="notices"
name="notices" v-model="notices"
maxlength="128"
style="font-size: 14pt; width: 550px;" /><br /><br />
<span id="decision" v-if="userEmail !== '' && userTelephone !== '' && decision === ''">
<label><br />
<strong>Möchtest du den Betrag spenden?</strong>