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:
2026-08-09 16:17:52 +03:30
co-authored by Cursor
parent f46b02efa8
commit c69c358a4d
10 changed files with 1071 additions and 170 deletions
+7 -6
View File
@@ -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',