From da7d101ea62a6796ee3679b13a8b8c93d00b7422 Mon Sep 17 00:00:00 2001 From: i701 Date: Sat, 5 Jul 2025 20:47:31 +0500 Subject: [PATCH] =?UTF-8?q?feat:=20add=20payment=20method=20filter=20to=20?= =?UTF-8?q?payments=20page=20=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(dashboard)/payments/page.tsx | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/app/(dashboard)/payments/page.tsx b/app/(dashboard)/payments/page.tsx index d8b7fb4..c962e1d 100644 --- a/app/(dashboard)/payments/page.tsx +++ b/app/(dashboard)/payments/page.tsx @@ -1,7 +1,6 @@ import { Suspense } from "react"; import DynamicFilter from "@/components/generic-filter"; import { PaymentsTable } from "@/components/payments-table"; -import Search from "@/components/search"; export default async function Payments({ searchParams, @@ -43,6 +42,25 @@ export default async function Payments({ }, ], }, + { + label: "Payment Method", + name: "method", + type: "radio-group", + options: [ + { + label: "All", + value: "", + }, + { + label: "Transfer", + value: "TRANSFER", + }, + { + label: "Wallet", + value: "WALLET", + }, + ], + }, { label: "Number of months", name: "number_of_months",