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

36 lines
1.0 KiB
Vue
Raw Normal View History

2021-07-04 01:44:41 +02:00
<template>
2023-04-29 23:41:26 +02:00
<page-layout>
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>
2023-04-29 23:41:26 +02:00
<i-link :href="`/subscription/${subscription.id}/edit`" class="inline-flex btn btn-warning btn-sm"><svg-sprite src="pencil"></svg-sprite></i-link>
2022-11-17 00:05:40 +01:00
</td>
</tr>
</table>
2023-04-29 23:41:26 +02:00
</page-layout>
2021-07-04 01:44:41 +02:00
</template>
<script>
export default {
2022-11-17 00:05:40 +01:00
props: {
data: {},
},
};
2021-07-04 01:44:41 +02:00
</script>