From 729ffeaa980b6fcd19fe27ccc43c3a74dfa62c41 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Mon, 27 Apr 2026 20:41:14 +0200
Subject: [PATCH] Improve coupon management
---
.../admin-overview/admin-overview.html | 216 ++++++++++--------
1 file changed, 127 insertions(+), 89 deletions(-)
diff --git a/apps/client/src/app/components/admin-overview/admin-overview.html b/apps/client/src/app/components/admin-overview/admin-overview.html
index 5514c57d0..4bf8cbeaa 100644
--- a/apps/client/src/app/components/admin-overview/admin-overview.html
+++ b/apps/client/src/app/components/admin-overview/admin-overview.html
@@ -113,95 +113,6 @@
}
- @if (hasPermissionForSubscription) {
-
-
Coupons
-
-
- @for (coupon of coupons; track coupon) {
-
- |
-
- |
-
- {{ formatStringValue(coupon.duration) }}
- |
-
-
-
-
-
- |
-
- }
-
-
-
-
-
-
- }
Housekeeping
@@ -228,4 +139,131 @@
+
+ @if (hasPermissionForSubscription) {
+
+
+
+
+ Coupons
+
+
+
+
+
+ |
+ Code
+ |
+
+
+ |
+
+
+
+
+ Duration
+ |
+
+ {{ formatStringValue(element.duration) }}
+ |
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ }