sales documents
This commit is contained in:
@@ -40,6 +40,9 @@ export interface SalesDocumentSummaryDto {
|
||||
customerId: string;
|
||||
customerName: string;
|
||||
status: SalesDocumentStatus;
|
||||
approvedAt: string | null;
|
||||
approvedByName: string | null;
|
||||
currentRevisionNumber: number;
|
||||
subtotal: number;
|
||||
discountPercent: number;
|
||||
discountAmount: number;
|
||||
@@ -58,6 +61,7 @@ export interface SalesDocumentDetailDto extends SalesDocumentSummaryDto {
|
||||
expiresAt: string | null;
|
||||
createdAt: string;
|
||||
lines: SalesLineDto[];
|
||||
revisions: SalesDocumentRevisionDto[];
|
||||
}
|
||||
|
||||
export interface SalesDocumentInput {
|
||||
@@ -70,4 +74,13 @@ export interface SalesDocumentInput {
|
||||
freightAmount: number;
|
||||
notes: string;
|
||||
lines: SalesLineInput[];
|
||||
revisionReason?: string;
|
||||
}
|
||||
|
||||
export interface SalesDocumentRevisionDto {
|
||||
id: string;
|
||||
revisionNumber: number;
|
||||
reason: string;
|
||||
createdAt: string;
|
||||
createdByName: string | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user