feat: add payment method filter to payments page
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m58s

This commit is contained in:
2025-07-05 20:47:31 +05:00
parent fa0d088f7f
commit da7d101ea6

View File

@ -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",