Add checks list page and richer order/check admin UX.
Replace the checks redirect with a real list, expand per-order check management, and add a row actions menu on the orders table. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+7
-6
@@ -34,11 +34,17 @@ const router = createRouter({
|
||||
component: () => import('@/views/orders/OrderPricingView.vue'),
|
||||
meta: { title: 'قیمتگذاری سفارش' },
|
||||
},
|
||||
{
|
||||
path: 'checks',
|
||||
name: 'checks',
|
||||
component: () => import('@/views/checks/ChecksListView.vue'),
|
||||
meta: { title: 'چکها' },
|
||||
},
|
||||
{
|
||||
path: 'orders/:id/checks',
|
||||
name: 'order-checks',
|
||||
component: () => import('@/views/checks/CheckManagementView.vue'),
|
||||
meta: { title: 'مدیریت چکها' },
|
||||
meta: { title: 'مدیریت چکهای سفارش' },
|
||||
},
|
||||
{
|
||||
/* API links often use /orders/:id — open list + detail via query */
|
||||
@@ -79,11 +85,6 @@ const router = createRouter({
|
||||
component: () => import('@/views/catalogs/CatalogsView.vue'),
|
||||
meta: { title: 'کالیتهها' },
|
||||
},
|
||||
{
|
||||
path: 'checks',
|
||||
name: 'checks',
|
||||
redirect: { name: 'order-checks', params: { id: 'ord-1' } },
|
||||
},
|
||||
{
|
||||
path: 'cash-payments',
|
||||
name: 'cash-payments',
|
||||
|
||||
Reference in New Issue
Block a user