adrema/resources/js/views/allpayment/Form.vue

29 lines
513 B
Vue
Raw Normal View History

2021-07-04 22:32:40 +02:00
<template>
<form class="p-6 grid gap-4 justify-start" @submit.prevent="submit">
<f-text id="year" v-model="inner.year" label="Jahr" required></f-text>
<button type="submit" class="btn btn-primary">Absenden</button>
</form>
</template>
<script>
export default {
data: function() {
return {
inner: {},
};
},
props: {
},
methods: {
submit() {
this.$inertia.post(`/allpayment`, this.inner)
}
}
};
</script>