adrema/resources/js/views/subscription/SubscriptionIndex.vue

38 lines
1.0 KiB
Vue
Raw Normal View History

2021-07-04 01:44:41 +02:00
<template>
<div>
2022-11-17 00:05:40 +01:00
<table cellspacing="0" cellpadding="0" border="0" class="custom-table custom-table-sm">
<thead>
<th>Name</th>
<th>Interner Beitrag</th>
<th>Nami-Beitrag</th>
<th></th>
</thead>
2021-07-04 01:44:41 +02:00
2022-11-17 00:05:40 +01:00
<tr v-for="(subscription, index) in data" :key="index">
<td>
<div v-text="subscription.name"></div>
</td>
<td>
<div v-text="subscription.amount_human"></div>
</td>
<td>
<div v-text="subscription.fee_name"></div>
</td>
<td>
<i-link :href="`/subscription/${subscription.id}/edit`" class="inline-flex btn btn-warning btn-sm"
><svg-sprite src="pencil"></svg-sprite
></i-link>
</td>
</tr>
</table>
2021-07-04 01:44:41 +02:00
</div>
</template>
<script>
export default {
2022-11-17 00:05:40 +01:00
props: {
data: {},
},
};
2021-07-04 01:44:41 +02:00
</script>