120 lines
2.8 KiB
TypeScript
120 lines
2.8 KiB
TypeScript
import { TableColumn } from "@/app/features/Pages/Approve/Approve";
|
|
|
|
type UserRow = {
|
|
id: number;
|
|
merchantId: string;
|
|
txId: string;
|
|
userEmail: string;
|
|
kycStatus: string;
|
|
};
|
|
|
|
export const approveRows: UserRow[] = [
|
|
{
|
|
id: 17,
|
|
merchantId: "100987998",
|
|
txId: "1049078821",
|
|
userEmail: "dhkheni1@yopmail.com",
|
|
kycStatus: "N/A",
|
|
},
|
|
{
|
|
id: 12,
|
|
merchantId: "100987998",
|
|
txId: "1049078822",
|
|
userEmail: "dhkheni2@yopmail.com",
|
|
kycStatus: "Pending",
|
|
},
|
|
{
|
|
id: 11,
|
|
merchantId: "100232399",
|
|
txId: "1049078822",
|
|
userEmail: "dhkheni2@yopmail.com",
|
|
kycStatus: "Pending",
|
|
},
|
|
{
|
|
id: 10,
|
|
merchantId: "100232399",
|
|
txId: "1049078822",
|
|
userEmail: "dhkheni2@yopmail.com",
|
|
kycStatus: "Pending",
|
|
},
|
|
{
|
|
id: 1,
|
|
merchantId: "100232399",
|
|
txId: "1049078822",
|
|
userEmail: "dhkheni2@yopmail.com",
|
|
kycStatus: "Pending",
|
|
},
|
|
{
|
|
id: 2,
|
|
merchantId: "101907999",
|
|
txId: "1049078822",
|
|
userEmail: "dhkheni2@yopmail.com",
|
|
kycStatus: "Pending",
|
|
},
|
|
{
|
|
id: 3,
|
|
merchantId: "101907999",
|
|
txId: "1049078822",
|
|
userEmail: "dhkheni2@yopmail.com",
|
|
kycStatus: "Pending",
|
|
},
|
|
{
|
|
id: 4,
|
|
merchantId: "10552342",
|
|
txId: "1049078822",
|
|
userEmail: "dhkheni2@yopmail.com",
|
|
kycStatus: "Pending",
|
|
},
|
|
{
|
|
id: 5,
|
|
merchantId: "10552342",
|
|
txId: "1049078822",
|
|
userEmail: "dhkheni2@yopmail.com",
|
|
kycStatus: "Pending",
|
|
},
|
|
{
|
|
id: 6,
|
|
merchantId: "10552342",
|
|
txId: "1049078822",
|
|
userEmail: "dhkheni2@yopmail.com",
|
|
kycStatus: "Pending",
|
|
},
|
|
{
|
|
id: 7,
|
|
merchantId: "10552342",
|
|
txId: "1049078822",
|
|
userEmail: "dhkheni2@yopmail.com",
|
|
kycStatus: "Pending",
|
|
},
|
|
{
|
|
id: 8,
|
|
merchantId: "10552342",
|
|
txId: "1049078822",
|
|
userEmail: "dhkheni2@yopmail.com",
|
|
kycStatus: "Pending",
|
|
},
|
|
];
|
|
|
|
export const approveColumns: TableColumn<UserRow>[] = [
|
|
{ field: "merchantId", headerName: "Merchant ID" },
|
|
{ field: "txId", headerName: "Transaction ID" },
|
|
{ field: "userEmail", headerName: "User Email" },
|
|
{ field: "kycStatus", headerName: "KYC Status" },
|
|
];
|
|
|
|
export const approveActions = [
|
|
{ value: "approve", label: "Approve" },
|
|
{ value: "reject", label: "Reject" },
|
|
{ value: "forceSuccessful", label: "Force Successful" },
|
|
{ value: "forceFiled", label: "Force Field" },
|
|
{ value: "forceInconsistent", label: "Force Inconsistent" },
|
|
{ value: "forceStatus", label: "Force Status" },
|
|
{ value: "partialCapture", label: "Partial Capture" },
|
|
{ value: "capture", label: "Capture" },
|
|
{ value: "extendedAuth", label: "Extended uth" },
|
|
{ value: "partialRefund", label: "Partial Refund" },
|
|
{ value: "refund", label: "Refund" },
|
|
{ value: "void", label: "Void" },
|
|
{ value: "registerCorrection", label: "Register Correction" },
|
|
];
|