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[];
};