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:
Vendored
+25
@@ -26,6 +26,31 @@ export declare class ChecksService {
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}[]>;
|
||||
findAll(status?: string): Promise<{
|
||||
orderNumber: string;
|
||||
customerName: string;
|
||||
orderStatus: import("@prisma/client").$Enums.OrderStatus;
|
||||
settlementType: import("@prisma/client").$Enums.SettlementType | null;
|
||||
id: string;
|
||||
orderId: string;
|
||||
row: number;
|
||||
amount: number;
|
||||
dueDate: string;
|
||||
sayadId: string;
|
||||
checkNumber: string | undefined;
|
||||
ownerNationalId: string | undefined;
|
||||
ownerFirstName: string | undefined;
|
||||
ownerLastName: string | undefined;
|
||||
bankName: string;
|
||||
branchName: string | undefined;
|
||||
frontImage: string | undefined;
|
||||
backImage: string | undefined;
|
||||
notes: string | undefined;
|
||||
mode: string;
|
||||
status: import("@prisma/client").$Enums.CheckStatus;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}[]>;
|
||||
updateStatus(id: string, adminId: string, dto: UpdateCheckStatusDto): Promise<{
|
||||
id: string;
|
||||
orderId: string;
|
||||
|
||||
Reference in New Issue
Block a user