2020-06-02 23:45:25 +02:00
|
|
|
<template>
|
|
|
|
<div>
|
2021-04-11 02:55:26 +02:00
|
|
|
<div class="member-table">
|
|
|
|
<header>
|
|
|
|
<div class="px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b">Nachname</div>
|
|
|
|
<div class="px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b">Vorname</div>
|
|
|
|
<div class="px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b">Straße</div>
|
|
|
|
<div class="px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b">PLZ</div>
|
|
|
|
<div class="px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b">Ort</div>
|
2021-04-11 16:33:33 +02:00
|
|
|
<div class="px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b">Mittendrin</div>
|
|
|
|
<div class="px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b">Nami</div>
|
2021-06-28 22:09:41 +02:00
|
|
|
<div class="px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b">Check</div>
|
2021-04-11 18:17:40 +02:00
|
|
|
<div class="px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b">Rechnung</div>
|
2021-04-11 02:55:26 +02:00
|
|
|
<div class="px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b">Geburtstag</div>
|
|
|
|
<div class="px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b">Eintritt</div>
|
2021-07-04 00:39:39 +02:00
|
|
|
<div class="px-6 py-3 border-gray-600 border-b"></div>
|
2021-04-11 02:55:26 +02:00
|
|
|
</header>
|
|
|
|
|
2021-07-04 00:39:39 +02:00
|
|
|
<div v-for="member, index in data.data" class="text-gray-200 transition-all duration-300 rounded flex items-center hover:bg-gray-800">
|
2021-04-11 02:55:26 +02:00
|
|
|
<div class="py-1 px-6" v-text="member.firstname"></div>
|
|
|
|
<div class="py-1 px-6" v-text="member.lastname"></div>
|
|
|
|
<div class="py-1 px-6" v-text="`${member.address}`"></div>
|
|
|
|
<div class="py-1 px-6" v-text="`${member.zip}`"></div>
|
|
|
|
<div class="py-1 px-6" v-text="`${member.location}`"></div>
|
|
|
|
<div class="py-1 px-6">
|
|
|
|
<v-bool v-model="member.send_newspaper"></v-bool>
|
|
|
|
</div>
|
2021-04-11 16:33:33 +02:00
|
|
|
<div class="py-1 px-6">
|
2021-04-11 20:35:18 +02:00
|
|
|
<v-bool v-model="member.has_nami"></v-bool>
|
2021-04-11 16:33:33 +02:00
|
|
|
</div>
|
2021-04-11 18:17:40 +02:00
|
|
|
<div class="py-1 px-6">
|
2021-06-28 22:09:41 +02:00
|
|
|
<v-bool v-model="member.is_confirmed"></v-bool>
|
|
|
|
</div>
|
|
|
|
<div class="py-1 px-6">
|
2021-04-11 18:17:40 +02:00
|
|
|
<div class="py-1 rounded-full flex text-xs items-center justify-center leading-none bg-primary-900" v-text="member.bill_kind_name" v-if="member.bill_kind_name"></div>
|
|
|
|
<div class="py-1 rounded-full flex text-xs items-center justify-center leading-none" v-else>Kein</div>
|
|
|
|
</div>
|
2021-04-11 17:13:56 +02:00
|
|
|
<div class="py-1 px-6" v-text="`${member.birthday_human}`"></div>
|
2021-04-11 17:18:28 +02:00
|
|
|
<div class="py-1 px-6" v-text="`${member.joined_at_human}`"></div>
|
2021-07-04 00:39:39 +02:00
|
|
|
<div class="py-1 px-6 flex">
|
|
|
|
<inertia-link :href="`/member/${member.id}/edit`" class="inline-flex btn btn-warning btn-sm"><sprite src="pencil"></sprite></inertia-link>
|
|
|
|
<inertia-link :href="`/member/${member.id}/payment`" class="inline-flex btn btn-info btn-sm"><sprite src="money"></sprite></inertia-link>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-11 02:55:26 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="px-6">
|
|
|
|
<pages class="mt-4" :value="data.meta" :only="['data']"></pages>
|
|
|
|
</div>
|
2020-06-02 23:45:25 +02:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2021-04-11 02:55:26 +02:00
|
|
|
import App from '../../layouts/App';
|
2020-06-02 23:45:25 +02:00
|
|
|
|
2021-04-11 02:55:26 +02:00
|
|
|
export default {
|
|
|
|
layout: App,
|
2020-06-02 23:45:25 +02:00
|
|
|
|
2021-04-11 02:55:26 +02:00
|
|
|
props:{
|
|
|
|
data: {}
|
2020-06-02 23:45:25 +02:00
|
|
|
}
|
2021-04-11 02:55:26 +02:00
|
|
|
}
|
2020-06-02 23:45:25 +02:00
|
|
|
</script>
|
|
|
|
|
2021-04-11 02:55:26 +02:00
|
|
|
<style scoped>
|
|
|
|
.member-table {
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.member-table > * {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
.member-table > * > * {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
</style>
|