From ab3e2b9dc4b7bf48b85990fce6faaeb1c81775b7 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Wed, 22 Jan 2025 08:57:28 +0100 Subject: [PATCH] display membership stats in member overview --- .../admin/club/members/MemberOverview.vue | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/views/admin/club/members/MemberOverview.vue b/src/views/admin/club/members/MemberOverview.vue index 6cc0ed2..6716daf 100644 --- a/src/views/admin/club/members/MemberOverview.vue +++ b/src/views/admin/club/members/MemberOverview.vue @@ -25,6 +25,20 @@ +
+

Statistiken zur Mitgliedschaft

+
+
+

+ {{ stat.status }} für gesamt {{ stat.durationInDays }} Tage + ~> {{ stat.durationInYears.replace("_", "") }} Jahre +

+
+
+

Erster Eintrag Mitgliedschaft

@@ -125,6 +139,7 @@ import { defineComponent } from "vue"; import { mapActions, mapState } from "pinia"; import Spinner from "@/components/Spinner.vue"; import { useMemberStore } from "@/stores/admin/club/member/member"; +import { useMembershipStore } from "@/stores/admin/club/member/membership";