admin user and ui panel
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user