admin user and ui panel

This commit is contained in:
s.esmaeili
2026-09-21 08:32:31 +03:30
parent 79226c9f13
commit ef1d4638cc
341 changed files with 2270 additions and 657 deletions
+8 -2
View File
@@ -65,8 +65,14 @@ const EXACT: Record<string, string> = {
// ── single (retail) customers + comments (Batch 5) ────────────────
'single-customer': 'admin/customers-omde/single/list',
// legacy views/apps/customer/singleCustomer.vue posts the retail form here
single: 'admin/customers-omde/create',
// legacy views/apps/customer/singleCustomer.vue posts the retail form here.
// FIXED: this used to alias to the same admin/customers-omde/create as the
// wholesale form, which has no notion of "retail" and defaults kind to
// APP_SHOPKEEPER — every "تک" signup was silently created as a wholesale
// app-shopkeeper row, which is why "لیست مشتریان تک" never showed genuinely
// retail data even after that list gained a kind filter. Routed at its own
// endpoint now, which sets kind=RETAIL explicitly.
single: 'admin/customers-omde/single',
'customer/create': 'admin/customers-omde/create',
'query/reagent': 'admin/customers-omde/query/reagent',
'wallet/charge': 'admin/customers-omde/wallet/charge',