add refer reason passenger boss and transportation assistance
This commit is contained in:
@@ -271,16 +271,16 @@ function DashboardPassengerOfficeComponent() {
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.refer_reason,
|
||||
id: "refer_reason",
|
||||
accessorFn: (row) => row.latest_history.expert_description,
|
||||
id: "latest_history.expert_description",
|
||||
header: t("PassengerBoss.refer_reason"),
|
||||
enableColumnFilter: false,
|
||||
datatype: "text",
|
||||
filterFn: "contains",
|
||||
columnFilterModeOptions: ["contains", "equals", "notEquals"],
|
||||
Cell: ({renderedCellValue, row}) => {
|
||||
Cell: ({row}) => {
|
||||
return (
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
<Typography variant="body2">{row.original.latest_history.action === 'refer'? row.original.latest_history.expert_description : null}</Typography>
|
||||
)
|
||||
},
|
||||
},
|
||||
|
||||
@@ -413,16 +413,16 @@ function DashboardTransportationAssistanceComponent() {
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.refer_reason,
|
||||
id: "refer_reason",
|
||||
accessorFn: (row) => row.latest_history.expert_description,
|
||||
id: "latest_history.expert_description",
|
||||
header: t("TransportationAssistance.refer_reason"),
|
||||
enableColumnFilter: false,
|
||||
datatype: "text",
|
||||
filterFn: "contains",
|
||||
columnFilterModeOptions: ["contains", "equals", "notEquals"],
|
||||
Cell: ({renderedCellValue, row}) => {
|
||||
Cell: ({row}) => {
|
||||
return (
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
<Typography variant="body2">{row.original.latest_history.action === 'refer'? row.original.latest_history.expert_description : null}</Typography>
|
||||
)
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user