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

31 lines
726 B
Vue
Raw Normal View History

2021-07-17 18:46:02 +02:00
<template>
2023-04-29 23:41:26 +02:00
<page-layout>
<div class="grid grid-cols-2">
<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>
<a :href="type.link.href" target="_BLANK" class="btn btn-primary mt-3 inline-block" v-text="type.link.label"></a>
</div>
2021-10-29 21:44:23 +02:00
</div>
2023-04-29 23:41:26 +02:00
</page-layout>
2021-07-17 18:46:02 +02:00
</template>
<script>
export default {
2023-04-29 23:41:26 +02:00
data: function () {
2021-07-17 18:46:02 +02:00
return {
inner: {},
};
},
props: {
2023-04-29 23:41:26 +02:00
types: {},
2021-07-17 18:46:02 +02:00
},
methods: {
submit() {
2023-04-29 23:41:26 +02:00
this.$inertia.post(`/allpayment`, this.inner);
},
},
2021-07-17 18:46:02 +02:00
};
</script>