Add global admin checks list and deepen check notification links.

Expose GET /admin/checks with order context, and point admin check alerts to the per-order checks page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-09 16:17:51 +03:30
co-authored by Cursor
parent d4aaa8e997
commit fd187ea2ee
11 changed files with 119 additions and 6 deletions
+1 -1
View File
@@ -467,7 +467,7 @@ let OrdersService = class OrdersService {
this.notifications.dispatchAdmin({
title: isFix ? 'چک‌های اصلاح‌شده رسید' : 'چک‌های سفارش ثبت شد',
body: `مشتری ${dto.checks.length} چک برای سفارش ${order.orderNumber} ثبت کرد و منتظر بررسی است.`,
link: `/orders/${id}`,
link: `/orders/${id}/checks`,
});
}
return this.findMyOrder(userId, id);
+1 -1
View File
File diff suppressed because one or more lines are too long