feat(inquiries): Add filtering functionality to inquiries list table
- Create new InquiriesListFilters component with search and status filter fields - Integrate filter modal into inquiries table with form handling - Add INQUIRY_STATUS enum with pending, reviewed, approved, and rejected statuses - Implement URL-based query parameter management for filter persistence - Add form state management using react-hook-form with watch and setValue utilities - Connect filter search to useGetInquiries hook to fetch filtered results - Support clearing individual filter fields and closing filter modal
This commit is contained in:
@@ -61,3 +61,9 @@ export const Currencies = [
|
||||
{ label: "INR", value: "INR" },
|
||||
{ label: "BRL", value: "BRL" },
|
||||
];
|
||||
export enum INQUIRY_STATUS {
|
||||
PENDING = "pending",
|
||||
REVIEWED = "reviewed",
|
||||
APPROVED = "approved",
|
||||
REJECTED = "rejected",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user