This commit is contained in:
unknown
2025-04-24 15:33:02 +07:00
16 changed files with 652 additions and 127 deletions

View File

@ -209,6 +209,15 @@ const ManageKycDeletionContextProvider = ({ children }: { children: React.ReactN
headerClassName: 'w-[350px]'
}
},
{
accessorFn: (row) => row.msisdn,
id: 'msdisdn',
header: ({ column }) => <DataGridColumnHeader title="Phone Number" column={column} />,
enableSorting: true,
meta: {
headerClassName: 'w-[350px]'
}
},
{
accessorFn: (row) => row.registered_email,
id: 'email',

View File

@ -70,6 +70,20 @@ export const getColumns = (handleUpdate: (data: any) => void): ColumnDef<Members
);
}
},
{
accessorKey: 'msisdn',
header: ({ column }) => {
return (
<Button
variant="ghost"
onClick={() => column.toggleSorting(column.getIsSorted() === 'asc')}
>
Phone Number
<ArrowUpDown className="ml-2 h-4 w-4" />
</Button>
);
}
},
{
accessorKey: 'group_name',
header: ({ column }) => {