Files
fabric_trade_server/dist/checks/checks.service.d.ts
T
mohmdsdgandCursor d4aaa8e997 Rebuild order flow: settle after pricing, notifications, and invoice expiry.
Hide prices until admin sends the invoice, enforce status transitions, add customer/admin SMS+in-app notifications, schedule cash invoice reminders, and ship updated dist/prisma-client/deploy-bundle for git-pull deploys.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 12:00:13 +03:30

52 lines
1.8 KiB
TypeScript

import { PrismaService } from '../prisma/prisma.service';
import { UpdateCheckStatusDto } from './dto/check.dto';
import { NotificationsService } from '../notifications/notifications.service';
export declare class ChecksService {
private readonly prisma;
private readonly notifications;
constructor(prisma: PrismaService, notifications: NotificationsService);
findByOrder(orderId: string): Promise<{
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;
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;
}>;
private map;
}