From 45eef21b394bca1b17c0d7f14a81e9f2d8bfeac9 Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Fri, 26 Jun 2026 11:35:22 +0330 Subject: [PATCH] up --- src/pages/requests/RequestList.tsx | 22 ---------------------- src/pages/requests/types/Types.ts | 4 ---- 2 files changed, 26 deletions(-) diff --git a/src/pages/requests/RequestList.tsx b/src/pages/requests/RequestList.tsx index 24c9ee5..08fc113 100644 --- a/src/pages/requests/RequestList.tsx +++ b/src/pages/requests/RequestList.tsx @@ -23,17 +23,6 @@ const RequestList: FC = () => { type: 'input', placeholder: 'جستجو', }, - { - name: 'status', - type: 'select', - placeholder: 'وضعیت', - options: [ - { - label: 'درحال انتظار', - value: 'pending', - }, - ], - }, { name: 'date', type: 'date', @@ -95,17 +84,6 @@ const RequestList: FC = () => { ) } }, - { - key: 'status', - title: 'وضعیت', - render: (item) => { - return ( -
- {item.status} -
- ) - } - }, { key: 'invoices', title: 'فاکتورها', diff --git a/src/pages/requests/types/Types.ts b/src/pages/requests/types/Types.ts index c0174ec..9dc26ac 100644 --- a/src/pages/requests/types/Types.ts +++ b/src/pages/requests/types/Types.ts @@ -25,15 +25,12 @@ export type RequestItemType = { attachments: string[]; }; -export type RequestStatus = "pending" | string; - export type RequestType = { id: string; createdAt: string; deletedAt: string | null; user: UserType; requestNumber: number; - status: RequestStatus; items: RequestItemType[]; invoices: InvoiceType[] }; @@ -86,7 +83,6 @@ export type RequestDetailType = { deletedAt: string | null; user: RequestDetailUserType; requestNumber: number; - status: RequestStatus; items: RequestDetailItemType[]; };