Bugfixes
This commit is contained in:
@@ -119,7 +119,6 @@ async function exportPayouts(costUnitId) {
|
||||
|
||||
const blob = await response.blob();
|
||||
const downloadUrl = window.URL.createObjectURL(blob);
|
||||
console.log(response.headers.get("content-type"));
|
||||
const a = document.createElement("a");
|
||||
a.style.display = "none";
|
||||
a.href = downloadUrl;
|
||||
|
||||
@@ -63,8 +63,6 @@ async function updateCostUnit() {
|
||||
toast.error(data.message);
|
||||
}
|
||||
}
|
||||
|
||||
console.log(props.data.treasurers)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
@@ -4,6 +4,7 @@ import { request } from '../../../../resources/js/components/HttpClient.js'
|
||||
import AppLayout from "../../../../resources/js/layouts/AppLayout.vue";
|
||||
import ShadowedBox from "../../../Views/Components/ShadowedBox.vue";
|
||||
import {toast} from "vue3-toastify";
|
||||
import IbanInput from "../../../Views/Components/IbanInput.vue";
|
||||
|
||||
const props = defineProps({
|
||||
personalData: Object,
|
||||
@@ -151,12 +152,12 @@ const submit = async () => {
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Kontoinhaber:</td>
|
||||
<td>Kontoinhaber*in:</td>
|
||||
<td><input type="text" v-model="form.bankAccountOwner" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IBAN:</td>
|
||||
<td><input type="text" v-model="form.bankAccountIban" /></td>
|
||||
<td><IbanInput v-model="form.bankAccountIban" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
@@ -5,8 +5,6 @@ import ShadowedBox from "../../../../Views/Components/ShadowedBox.vue";
|
||||
const props = defineProps({
|
||||
events: Array,
|
||||
})
|
||||
|
||||
console.log(props.events)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
@@ -16,7 +16,6 @@ onMounted(async () => {
|
||||
const response = await fetch('/api/v1/event/participant/' + staticProps.participant.identifier + '/');
|
||||
const data = await response.json();
|
||||
Object.assign(props, data);
|
||||
console.log(props);
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -42,8 +42,6 @@
|
||||
|
||||
})
|
||||
|
||||
console.log(formData)
|
||||
|
||||
function validateInput() {
|
||||
var noErrors = true;
|
||||
|
||||
|
||||
@@ -3,9 +3,6 @@ const props = defineProps({
|
||||
participant: Object,
|
||||
event: Object,
|
||||
})
|
||||
|
||||
console.log(props.event)
|
||||
console.log(props.participant)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
@@ -8,7 +8,6 @@ export function useSignupForm(event, participantData) {
|
||||
const submitResult = ref(null) // null | { type: 'success'|'exists', data: {} }
|
||||
|
||||
const selectedAddons = reactive({})
|
||||
console.log(participantData)
|
||||
|
||||
const formData = reactive({
|
||||
eatingHabit: 'EATING_HABIT_VEGAN',
|
||||
|
||||
@@ -20,7 +20,6 @@ const nextStep = () => {
|
||||
const hasAddons = (props.event.addons?.length ?? 0) > 0
|
||||
emit('next', hasAddons ? 6 : 7)
|
||||
}
|
||||
console.log(props.formData, props.event)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
@@ -11,7 +11,6 @@ const props = defineProps({
|
||||
currentStatus: Number,
|
||||
})
|
||||
|
||||
console.log(props.currentStatus)
|
||||
const initialCostUnitId = props.cost_unit_id
|
||||
const initialInvoiceId = props.invoice_id
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ const props = defineProps({
|
||||
userName: String,
|
||||
userEmail: String,
|
||||
userTelephone: String,
|
||||
userIban: String,
|
||||
userAccountIban: String,
|
||||
userAccountOwner: String,
|
||||
})
|
||||
|
||||
@@ -47,7 +47,7 @@ const invoiceType = ref('');
|
||||
:userName="props.userName"
|
||||
:userEmail="props.userEmail"
|
||||
:userTelephone="props.userTelephone"
|
||||
:userIban="props.userIban"
|
||||
:userAccountIban="props.userAccountIban"
|
||||
:userAccountOwner="props.userAccountOwner"
|
||||
:userId="props.userId"
|
||||
/>
|
||||
@@ -57,7 +57,7 @@ const invoiceType = ref('');
|
||||
:userName="props.userName"
|
||||
:userEmail="props.userEmail"
|
||||
:userTelephone="props.userTelephone"
|
||||
:userIban="props.userIban"
|
||||
:userAccountIban="props.userAccountIban"
|
||||
:userAccountOwner="props.userAccountOwner"
|
||||
:userId="props.userId"
|
||||
/>
|
||||
|
||||
@@ -9,7 +9,6 @@ const props = defineProps({
|
||||
}
|
||||
})
|
||||
|
||||
console.log(props.data)
|
||||
const emit = defineEmits(["accept", "deny", "fix"])
|
||||
</script>
|
||||
|
||||
|
||||
@@ -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=""
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -20,7 +20,6 @@ onMounted(() => {
|
||||
}
|
||||
})
|
||||
|
||||
//console.log(props.errors.password[0])
|
||||
const username = ref('')
|
||||
const password = ref('')
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@ onMounted(() => {
|
||||
}
|
||||
})
|
||||
|
||||
//console.log(props.errors.password[0])
|
||||
const username = ref('')
|
||||
const password = ref('')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user