adrema/resources/js/views/member/boxes/Payments.vue

41 lines
1.2 KiB
Vue
Raw Permalink Normal View History

2022-11-22 01:55:57 +01:00
<template>
<div>
<table cellspacing="0" cellpadding="0" border="0" class="hidden md:table custom-table custom-table-sm text-sm">
<thead>
2023-12-19 02:18:58 +01:00
<th>Beschreibung</th>
<th>Beitrag</th>
<th>Status</th>
</thead>
2023-12-19 02:18:58 +01:00
<tr v-for="(position, index) in inner" :key="index">
<td v-text="position.description"></td>
<td v-text="position.price_human"></td>
<td v-text="position.invoice.status"></td>
</tr>
</table>
<div class="md:hidden grid gap-3">
2023-12-19 02:18:58 +01:00
<ui-box v-for="(position, index) in inner" :key="index" class="relative" :heading="position.description" second>
<div class="text-xs text-gray-200" v-text="position.price_human"></div>
<div class="text-xs text-gray-200" v-text="position.invoice.status"></div>
2023-05-19 01:06:46 +02:00
</ui-box>
</div>
</div>
2022-11-22 01:55:57 +01:00
</template>
<script>
export default {
2023-12-19 02:18:58 +01:00
props: {
value: {},
},
data: function () {
return {
inner: [],
};
},
created() {
this.inner = this.value;
2022-11-22 01:55:57 +01:00
},
};
</script>