This commit is contained in:
2026-04-26 01:56:28 +02:00
parent 5bcdc2fb5d
commit 096ba07b4c
19 changed files with 14 additions and 37 deletions

View File

@@ -9,7 +9,6 @@ const props = defineProps({
}
})
console.log(props.data)
const emit = defineEmits(["accept", "deny", "fix"])
</script>

View File

@@ -15,7 +15,7 @@ const data = defineProps({
userName: String,
userEmail: String,
userTelephone: String,
userIban: String,
userAccountIban: String,
userAccountOwner: String,
})
@@ -106,7 +106,7 @@ function handleFileChange(event) {
:userName="data.userName"
:userEmail="data.userEmail"
:userTelephone="data.userTelephone"
:userIban="data.userIban"
:userAccountIban="data.userAccountIban"
:userAccountOwner="data.userAccountOwner"
:receipt="receipt"
travelReason=""

View File

@@ -22,19 +22,17 @@ const props = defineProps({
userEmail: String,
userTelephone: String,
userAccountOwner: String,
userIban: String,
userAccountIban: String,
havePassengers: Number,
materialTransportation: Boolean,
travelReason: String,
})
console.log(props)
const finalStep = ref(true)
const userName = ref(props.userName)
const userEmail = ref(props.userEmail)
const userTelephone = ref(props.userTelephone)
const userIban = ref(props.userIban)
const userIban = ref(props.userAccountIban)
const userAccountOwner = ref(props.userAccountOwner)
const sending = ref(false)
const success = ref(false)
@@ -50,8 +48,6 @@ async function sendData() {
errorMsg.value = ''
success.value = false
console.log(props)
const formData = new FormData()
formData.append('name', userName.value)

View File

@@ -11,7 +11,7 @@ const data = defineProps({
userName: String,
userEmail: String,
userTelephone: String,
userIban: String,
userAccountIban: String,
userAccountOwner: String,
})
@@ -45,7 +45,6 @@ function handleFileChange(event) {
event.target.value = null
}
}
</script>
<template>
@@ -99,7 +98,7 @@ function handleFileChange(event) {
:userName="data.userName"
:userEmail="data.userEmail"
:userTelephone="data.userTelephone"
:userIban="data.userIban"
:userAccountIban="data.userAccountIban"
:userAccountOwner="data.userAccountOwner"
:receipt="receipt"
:travelReason="travelReason"
@@ -151,7 +150,7 @@ function handleFileChange(event) {
:userName="data.userName"
:userEmail="data.userEmail"
:userTelephone="data.userTelephone"
:userIban="data.userIban"
:userAccountIban="data.userAccountIban"
:userAccountOwner="data.userAccountOwner"
:travelReason="travelReason"
@close="finalStep = false"