chats kept
This commit is contained in:
@@ -58,15 +58,6 @@ export type InvoiceUserType = {
|
||||
phone: string;
|
||||
};
|
||||
|
||||
export type InvoiceRequestType = {
|
||||
id: string;
|
||||
createdAt: string;
|
||||
deletedAt: string | null;
|
||||
user: string;
|
||||
requestNumber: number;
|
||||
status: string;
|
||||
};
|
||||
|
||||
export type InvoiceProductType = {
|
||||
id: string;
|
||||
createdAt: string;
|
||||
@@ -98,7 +89,7 @@ export type InvoiceItemType = {
|
||||
};
|
||||
|
||||
export type InvoiceItemDetailType = Omit<InvoiceItemType, 'invoice'> & {
|
||||
invoice: Pick<InvoiceType, 'id' | 'invoiceNumber' | 'user'>;
|
||||
invoice: Pick<InvoiceType, 'id' | 'invoiceNumber' | 'user' | 'requestId'>;
|
||||
};
|
||||
|
||||
export type InvoiceType = {
|
||||
@@ -106,7 +97,7 @@ export type InvoiceType = {
|
||||
createdAt: string;
|
||||
deletedAt: string | null;
|
||||
user: InvoiceUserType;
|
||||
request: InvoiceRequestType;
|
||||
requestId?: string | null;
|
||||
invoiceNumber: number;
|
||||
discount: number;
|
||||
subTotal: number;
|
||||
|
||||
Reference in New Issue
Block a user