change name columns
This commit is contained in:
@@ -48,9 +48,19 @@ function DashboardPassengerOfficeComponent() {
|
||||
Cell: ({ renderedCellValue }) => <Typography variant="body2">{renderedCellValue}</Typography>,
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.name,
|
||||
id: "name",
|
||||
header: t("PassengerBoss.name"),
|
||||
accessorFn: (row) => row.first_name,
|
||||
id: "first_name",
|
||||
header: t("PassengerBoss.first_name"),
|
||||
enableColumnFilter: true,
|
||||
datatype: "text",
|
||||
filterFn: "contains",
|
||||
columnFilterModeOptions: ["contains", "equals", "notEquals"],
|
||||
Cell: ({ renderedCellValue }) => <Typography variant="body2">{renderedCellValue}</Typography>,
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.last_name,
|
||||
id: "last_name",
|
||||
header: t("PassengerBoss.last_name"),
|
||||
enableColumnFilter: true,
|
||||
datatype: "text",
|
||||
filterFn: "contains",
|
||||
|
||||
Reference in New Issue
Block a user