adrema/resources/js/views/maildispatcher/MaildispatcherIndex.vue

39 lines
1.2 KiB
Vue

<template>
<page-layout>
<template #toolbar>
<page-toolbar-button :href="data.meta.links.create" color="primary" icon="plus">Verteiler erstellen</page-toolbar-button>
</template>
<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>
<tr v-for="(dispatcher, index) in data.data" :key="index">
<td>
<div v-text="dispatcher.name"></div>
</td>
<td>
<div v-text="dispatcher.amount_human"></div>
</td>
<td>
<div v-text="dispatcher.fee_name"></div>
</td>
<td>
<i-link :href="`/dispatcher/${dispatcher.id}/edit`" class="inline-flex btn btn-warning btn-sm"><svg-sprite src="pencil"></svg-sprite></i-link>
</td>
</tr>
</table>
</page-layout>
</template>
<script>
export default {
props: {
data: {},
},
};
</script>