2022-11-22 01:55:57 +01:00
|
|
|
<template>
|
2022-11-29 21:38:55 +01:00
|
|
|
<div>
|
|
|
|
<table cellspacing="0" cellpadding="0" border="0" class="hidden md:table custom-table custom-table-sm text-sm">
|
|
|
|
<thead>
|
|
|
|
<th>Nr</th>
|
|
|
|
<th>Beitrag</th>
|
|
|
|
<th>Status</th>
|
|
|
|
</thead>
|
|
|
|
<tr v-for="(payment, index) in inner" :key="index">
|
|
|
|
<td v-text="payment.nr"></td>
|
|
|
|
<td v-text="`${payment.subscription.name} (${payment.subscription.amount_human})`"></td>
|
|
|
|
<td v-text="payment.status_name"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<div class="md:hidden grid gap-3">
|
|
|
|
<box class="relative" :heading="payment.nr" v-for="(payment, index) in inner" :key="index" second>
|
|
|
|
<div
|
|
|
|
class="text-xs text-gray-200"
|
|
|
|
v-text="`${payment.subscription.name} (${payment.subscription.amount_human})`"
|
|
|
|
></div>
|
|
|
|
<div class="text-xs text-gray-200" v-text="payment.status_name"></div>
|
|
|
|
</box>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-22 01:55:57 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
2022-11-29 21:38:55 +01:00
|
|
|
data: function () {
|
|
|
|
return {
|
|
|
|
inner: [],
|
|
|
|
};
|
|
|
|
},
|
|
|
|
|
2022-11-22 01:55:57 +01:00
|
|
|
props: {
|
2022-11-29 21:38:55 +01:00
|
|
|
value: {},
|
|
|
|
},
|
|
|
|
|
|
|
|
created() {
|
|
|
|
this.inner = this.value;
|
2022-11-22 01:55:57 +01:00
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|