adrema/resources/js/views/sendpayment/VForm.vue

30 lines
657 B
Vue
Raw Normal View History

2021-07-17 18:46:02 +02:00
<template>
2021-10-29 21:44:23 +02:00
<div class="grid grid-cols-2">
2022-02-12 14:47:07 +01:00
<div class="p-6" v-for="type, index in types" :key="index">
<p class="text-white" v-for="paragraph, index in type.text" :key="index" v-text="paragraph"></p>
2021-10-29 21:44:23 +02:00
<a :href="type.link.href" target="_BLANK" class="btn btn-primary mt-3 inline-block" v-text="type.link.label"></a>
</div>
2021-07-17 18:46:02 +02:00
</div>
</template>
<script>
export default {
data: function() {
return {
inner: {},
};
},
props: {
2021-10-29 21:44:23 +02:00
types: {}
2021-07-17 18:46:02 +02:00
},
methods: {
submit() {
this.$inertia.post(`/allpayment`, this.inner)
}
}
};
</script>