mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-07 06:36:30 +00:00
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
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m58s
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user