chats kept

This commit is contained in:
2026-07-02 23:03:33 +03:30
parent 98f3e5e5bd
commit d56d4f7373
5 changed files with 39 additions and 25 deletions
+2 -11
View File
@@ -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;