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>
This commit is contained in:
+4
-1
@@ -1,9 +1,11 @@
|
||||
import { ShipmentStatus } from '@prisma/client';
|
||||
import { PrismaService } from '../prisma/prisma.service';
|
||||
import { AdvanceShipmentStatusDto, CreateShipmentDto, UpdateShipmentDto } from './dto/shipment.dto';
|
||||
import { NotificationsService } from '../notifications/notifications.service';
|
||||
export declare class ShipmentsService {
|
||||
private readonly prisma;
|
||||
constructor(prisma: PrismaService);
|
||||
private readonly notifications;
|
||||
constructor(prisma: PrismaService, notifications: NotificationsService);
|
||||
findAll(status?: ShipmentStatus): Promise<{
|
||||
id: string;
|
||||
orderId: string;
|
||||
@@ -74,6 +76,7 @@ export declare class ShipmentsService {
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}>;
|
||||
private notifyOrderStatus;
|
||||
private ensure;
|
||||
private map;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user