feat(shop-admin): manage shop coupon templates

Add a coupons page where a shop user lists, creates, edits, enables/disables,
and deletes only its own templates, with localized titles, minor-unit discount
and threshold, currency, claim stock, and an active window. Expose it as a
coupons navigation entry beside the existing shop operations.
This commit is contained in:
2026-09-18 12:13:05 +00:00
parent 0eb94f2ba1
commit c7fad42105
3 changed files with 369 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@ watchEffect(() => {
<NuxtLink to="/orders">{{ $t("nav.orders") }}</NuxtLink>
<NuxtLink to="/shipments">{{ $t("nav.shipments") }}</NuxtLink>
<NuxtLink to="/invoices">{{ $t("nav.invoices") }}</NuxtLink>
<NuxtLink to="/coupons">{{ $t("nav.coupons") }}</NuxtLink>
</aside>
<main>
<div class="main-head">