Bugfixes
This commit is contained in:
@@ -119,7 +119,6 @@ async function exportPayouts(costUnitId) {
|
|||||||
|
|
||||||
const blob = await response.blob();
|
const blob = await response.blob();
|
||||||
const downloadUrl = window.URL.createObjectURL(blob);
|
const downloadUrl = window.URL.createObjectURL(blob);
|
||||||
console.log(response.headers.get("content-type"));
|
|
||||||
const a = document.createElement("a");
|
const a = document.createElement("a");
|
||||||
a.style.display = "none";
|
a.style.display = "none";
|
||||||
a.href = downloadUrl;
|
a.href = downloadUrl;
|
||||||
|
|||||||
@@ -63,8 +63,6 @@ async function updateCostUnit() {
|
|||||||
toast.error(data.message);
|
toast.error(data.message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(props.data.treasurers)
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import { request } from '../../../../resources/js/components/HttpClient.js'
|
|||||||
import AppLayout from "../../../../resources/js/layouts/AppLayout.vue";
|
import AppLayout from "../../../../resources/js/layouts/AppLayout.vue";
|
||||||
import ShadowedBox from "../../../Views/Components/ShadowedBox.vue";
|
import ShadowedBox from "../../../Views/Components/ShadowedBox.vue";
|
||||||
import {toast} from "vue3-toastify";
|
import {toast} from "vue3-toastify";
|
||||||
|
import IbanInput from "../../../Views/Components/IbanInput.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
personalData: Object,
|
personalData: Object,
|
||||||
@@ -151,12 +152,12 @@ const submit = async () => {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Kontoinhaber:</td>
|
<td>Kontoinhaber*in:</td>
|
||||||
<td><input type="text" v-model="form.bankAccountOwner" /></td>
|
<td><input type="text" v-model="form.bankAccountOwner" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>IBAN:</td>
|
<td>IBAN:</td>
|
||||||
<td><input type="text" v-model="form.bankAccountIban" /></td>
|
<td><IbanInput v-model="form.bankAccountIban" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ import ShadowedBox from "../../../../Views/Components/ShadowedBox.vue";
|
|||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
events: Array,
|
events: Array,
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(props.events)
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ onMounted(async () => {
|
|||||||
const response = await fetch('/api/v1/event/participant/' + staticProps.participant.identifier + '/');
|
const response = await fetch('/api/v1/event/participant/' + staticProps.participant.identifier + '/');
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
Object.assign(props, data);
|
Object.assign(props, data);
|
||||||
console.log(props);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -42,8 +42,6 @@
|
|||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(formData)
|
|
||||||
|
|
||||||
function validateInput() {
|
function validateInput() {
|
||||||
var noErrors = true;
|
var noErrors = true;
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,6 @@ const props = defineProps({
|
|||||||
participant: Object,
|
participant: Object,
|
||||||
event: Object,
|
event: Object,
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(props.event)
|
|
||||||
console.log(props.participant)
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ export function useSignupForm(event, participantData) {
|
|||||||
const submitResult = ref(null) // null | { type: 'success'|'exists', data: {} }
|
const submitResult = ref(null) // null | { type: 'success'|'exists', data: {} }
|
||||||
|
|
||||||
const selectedAddons = reactive({})
|
const selectedAddons = reactive({})
|
||||||
console.log(participantData)
|
|
||||||
|
|
||||||
const formData = reactive({
|
const formData = reactive({
|
||||||
eatingHabit: 'EATING_HABIT_VEGAN',
|
eatingHabit: 'EATING_HABIT_VEGAN',
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ const nextStep = () => {
|
|||||||
const hasAddons = (props.event.addons?.length ?? 0) > 0
|
const hasAddons = (props.event.addons?.length ?? 0) > 0
|
||||||
emit('next', hasAddons ? 6 : 7)
|
emit('next', hasAddons ? 6 : 7)
|
||||||
}
|
}
|
||||||
console.log(props.formData, props.event)
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ const props = defineProps({
|
|||||||
currentStatus: Number,
|
currentStatus: Number,
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(props.currentStatus)
|
|
||||||
const initialCostUnitId = props.cost_unit_id
|
const initialCostUnitId = props.cost_unit_id
|
||||||
const initialInvoiceId = props.invoice_id
|
const initialInvoiceId = props.invoice_id
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ const props = defineProps({
|
|||||||
userName: String,
|
userName: String,
|
||||||
userEmail: String,
|
userEmail: String,
|
||||||
userTelephone: String,
|
userTelephone: String,
|
||||||
userIban: String,
|
userAccountIban: String,
|
||||||
userAccountOwner: String,
|
userAccountOwner: String,
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ const invoiceType = ref('');
|
|||||||
:userName="props.userName"
|
:userName="props.userName"
|
||||||
:userEmail="props.userEmail"
|
:userEmail="props.userEmail"
|
||||||
:userTelephone="props.userTelephone"
|
:userTelephone="props.userTelephone"
|
||||||
:userIban="props.userIban"
|
:userAccountIban="props.userAccountIban"
|
||||||
:userAccountOwner="props.userAccountOwner"
|
:userAccountOwner="props.userAccountOwner"
|
||||||
:userId="props.userId"
|
:userId="props.userId"
|
||||||
/>
|
/>
|
||||||
@@ -57,7 +57,7 @@ const invoiceType = ref('');
|
|||||||
:userName="props.userName"
|
:userName="props.userName"
|
||||||
:userEmail="props.userEmail"
|
:userEmail="props.userEmail"
|
||||||
:userTelephone="props.userTelephone"
|
:userTelephone="props.userTelephone"
|
||||||
:userIban="props.userIban"
|
:userAccountIban="props.userAccountIban"
|
||||||
:userAccountOwner="props.userAccountOwner"
|
:userAccountOwner="props.userAccountOwner"
|
||||||
:userId="props.userId"
|
:userId="props.userId"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ const props = defineProps({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(props.data)
|
|
||||||
const emit = defineEmits(["accept", "deny", "fix"])
|
const emit = defineEmits(["accept", "deny", "fix"])
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ const data = defineProps({
|
|||||||
userName: String,
|
userName: String,
|
||||||
userEmail: String,
|
userEmail: String,
|
||||||
userTelephone: String,
|
userTelephone: String,
|
||||||
userIban: String,
|
userAccountIban: String,
|
||||||
userAccountOwner: String,
|
userAccountOwner: String,
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -106,7 +106,7 @@ function handleFileChange(event) {
|
|||||||
:userName="data.userName"
|
:userName="data.userName"
|
||||||
:userEmail="data.userEmail"
|
:userEmail="data.userEmail"
|
||||||
:userTelephone="data.userTelephone"
|
:userTelephone="data.userTelephone"
|
||||||
:userIban="data.userIban"
|
:userAccountIban="data.userAccountIban"
|
||||||
:userAccountOwner="data.userAccountOwner"
|
:userAccountOwner="data.userAccountOwner"
|
||||||
:receipt="receipt"
|
:receipt="receipt"
|
||||||
travelReason=""
|
travelReason=""
|
||||||
|
|||||||
@@ -22,19 +22,17 @@ const props = defineProps({
|
|||||||
userEmail: String,
|
userEmail: String,
|
||||||
userTelephone: String,
|
userTelephone: String,
|
||||||
userAccountOwner: String,
|
userAccountOwner: String,
|
||||||
userIban: String,
|
userAccountIban: String,
|
||||||
havePassengers: Number,
|
havePassengers: Number,
|
||||||
materialTransportation: Boolean,
|
materialTransportation: Boolean,
|
||||||
travelReason: String,
|
travelReason: String,
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(props)
|
|
||||||
|
|
||||||
const finalStep = ref(true)
|
const finalStep = ref(true)
|
||||||
const userName = ref(props.userName)
|
const userName = ref(props.userName)
|
||||||
const userEmail = ref(props.userEmail)
|
const userEmail = ref(props.userEmail)
|
||||||
const userTelephone = ref(props.userTelephone)
|
const userTelephone = ref(props.userTelephone)
|
||||||
const userIban = ref(props.userIban)
|
const userIban = ref(props.userAccountIban)
|
||||||
const userAccountOwner = ref(props.userAccountOwner)
|
const userAccountOwner = ref(props.userAccountOwner)
|
||||||
const sending = ref(false)
|
const sending = ref(false)
|
||||||
const success = ref(false)
|
const success = ref(false)
|
||||||
@@ -50,8 +48,6 @@ async function sendData() {
|
|||||||
errorMsg.value = ''
|
errorMsg.value = ''
|
||||||
success.value = false
|
success.value = false
|
||||||
|
|
||||||
console.log(props)
|
|
||||||
|
|
||||||
const formData = new FormData()
|
const formData = new FormData()
|
||||||
|
|
||||||
formData.append('name', userName.value)
|
formData.append('name', userName.value)
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const data = defineProps({
|
|||||||
userName: String,
|
userName: String,
|
||||||
userEmail: String,
|
userEmail: String,
|
||||||
userTelephone: String,
|
userTelephone: String,
|
||||||
userIban: String,
|
userAccountIban: String,
|
||||||
userAccountOwner: String,
|
userAccountOwner: String,
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -45,7 +45,6 @@ function handleFileChange(event) {
|
|||||||
event.target.value = null
|
event.target.value = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -99,7 +98,7 @@ function handleFileChange(event) {
|
|||||||
:userName="data.userName"
|
:userName="data.userName"
|
||||||
:userEmail="data.userEmail"
|
:userEmail="data.userEmail"
|
||||||
:userTelephone="data.userTelephone"
|
:userTelephone="data.userTelephone"
|
||||||
:userIban="data.userIban"
|
:userAccountIban="data.userAccountIban"
|
||||||
:userAccountOwner="data.userAccountOwner"
|
:userAccountOwner="data.userAccountOwner"
|
||||||
:receipt="receipt"
|
:receipt="receipt"
|
||||||
:travelReason="travelReason"
|
:travelReason="travelReason"
|
||||||
@@ -151,7 +150,7 @@ function handleFileChange(event) {
|
|||||||
:userName="data.userName"
|
:userName="data.userName"
|
||||||
:userEmail="data.userEmail"
|
:userEmail="data.userEmail"
|
||||||
:userTelephone="data.userTelephone"
|
:userTelephone="data.userTelephone"
|
||||||
:userIban="data.userIban"
|
:userAccountIban="data.userAccountIban"
|
||||||
:userAccountOwner="data.userAccountOwner"
|
:userAccountOwner="data.userAccountOwner"
|
||||||
:travelReason="travelReason"
|
:travelReason="travelReason"
|
||||||
@close="finalStep = false"
|
@close="finalStep = false"
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
//console.log(props.errors.password[0])
|
|
||||||
const username = ref('')
|
const username = ref('')
|
||||||
const password = ref('')
|
const password = ref('')
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
//console.log(props.errors.password[0])
|
|
||||||
const username = ref('')
|
const username = ref('')
|
||||||
const password = ref('')
|
const password = ref('')
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ class User extends Authenticatable
|
|||||||
'eating_habits',
|
'eating_habits',
|
||||||
'swimming_permission',
|
'swimming_permission',
|
||||||
'first_aid_permission',
|
'first_aid_permission',
|
||||||
'$bank_account_owner',
|
'bank_account_owner',
|
||||||
'bank_account_iban',
|
'bank_account_iban',
|
||||||
'password',
|
'password',
|
||||||
'active',
|
'active',
|
||||||
|
|||||||
@@ -14,8 +14,6 @@ onMounted(async () => {
|
|||||||
const response = await fetch('/api/v1/core/retrieve-text-resource/' + props.textName);
|
const response = await fetch('/api/v1/core/retrieve-text-resource/' + props.textName);
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
Object.assign(contentData, data);
|
Object.assign(contentData, data);
|
||||||
console.log(contentData)
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user