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:
Vendored
+6
-1
@@ -22,13 +22,17 @@ export declare class SubmitOrderCheckDto {
|
||||
}
|
||||
export declare class SubmitOrderDto {
|
||||
companyId: string;
|
||||
settlementType: SettlementType;
|
||||
settlementType?: SettlementType;
|
||||
settlementMethod?: SettlementType;
|
||||
checkMode?: CheckRegistrationMode;
|
||||
notes?: string;
|
||||
items: SubmitOrderItemDto[];
|
||||
checks?: SubmitOrderCheckDto[];
|
||||
}
|
||||
export declare class ChooseSettlementDto {
|
||||
settlementType: SettlementType;
|
||||
checkMode?: CheckRegistrationMode;
|
||||
}
|
||||
export declare class AdminCreateOrderDto {
|
||||
userId?: string;
|
||||
customerPhone?: string;
|
||||
@@ -57,6 +61,7 @@ export declare class UpdateOrderStatusDto {
|
||||
status: OrderStatus;
|
||||
note?: string;
|
||||
reason?: string;
|
||||
force?: boolean;
|
||||
}
|
||||
export declare class UpdateOrderChecksDto {
|
||||
checks: SubmitOrderCheckDto[];
|
||||
|
||||
Reference in New Issue
Block a user