From f9741f89efe60fdcafc786507005d28775c1b70a Mon Sep 17 00:00:00 2001 From: DualFroz Date: Thu, 27 Aug 2026 17:45:06 +0200 Subject: [PATCH] views(admin): add coupon and review management pages --- views/admin/coupons/form.php | 62 ++++++++++++++++++++++++++++++++++ views/admin/coupons/index.php | 49 +++++++++++++++++++++++++++ views/admin/reviews/index.php | 63 +++++++++++++++++++++++++++++++++++ 3 files changed, 174 insertions(+) create mode 100644 views/admin/coupons/form.php create mode 100644 views/admin/coupons/index.php create mode 100644 views/admin/reviews/index.php diff --git a/views/admin/coupons/form.php b/views/admin/coupons/form.php new file mode 100644 index 0000000..ff4bf17 --- /dev/null +++ b/views/admin/coupons/form.php @@ -0,0 +1,62 @@ +
+
+

New coupon

+

Create a discount code.

+
+ Back +
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+ + +
+ + + +
+ +
+
diff --git a/views/admin/coupons/index.php b/views/admin/coupons/index.php new file mode 100644 index 0000000..06abff9 --- /dev/null +++ b/views/admin/coupons/index.php @@ -0,0 +1,49 @@ +
+
+

Coupons

+

Percentage or fixed discounts with limits and windows.

+
+ New coupon +
+ + +

No coupons yet.

+ +
+ + + + + + + + + + + + + + + + + +
CodeDiscountMin cartRedemptionsWindowStatus
+ + % + + + + + + + + → + + +
+ + +
+
+
+ diff --git a/views/admin/reviews/index.php b/views/admin/reviews/index.php new file mode 100644 index 0000000..fb6166b --- /dev/null +++ b/views/admin/reviews/index.php @@ -0,0 +1,63 @@ +
+
+

Reviews

+

awaiting moderation.

+
+
+ +

Pending

+ +

Nothing to moderate.

+ +
+ +
+
+
+ + +
+ + · () + · +
+
+
+
+ + +
+
+ + +
+
+
+ +

+ +
+ +
+ + +

Approved ()

+ +

None yet.

+ +
+ + + + + + + + + + + + +
ProductRatingTitleAuthor
+
+