delete commits

This commit is contained in:
2023-08-13 15:41:05 +03:30
parent 2d70f0a088
commit c91e53bc20
10 changed files with 1 additions and 196 deletions

View File

@@ -160,47 +160,12 @@ function DashboardCommercialChiefComponent() {
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
// {
// accessorFn: (row) => row.navgan_id,
// id: "navgan_id",
// header: t("CommercialChief.navgan_id"),
// enableColumnFilter: true,
// datatype: "numeric",
// filterFn: "equals",
// columnFilterModeOptions: [
// "equals",
// "notEquals",
// "contains",
// "lessThan",
// "greaterThan",
// "between",
// ],
// Cell: ({renderedCellValue}) => (
// <Typography variant="body2">{renderedCellValue}</Typography>
// ),
// },
// {
// accessorFn: (row) => row.vehicle_type,
// id: "vehicle_type",
// header: t("CommercialChief.vehicle_type"),
// enableColumnFilter: true,
// datatype: "text",
// filterFn: "contains",
// columnFilterModeOptions: ["contains", "equals", "notEquals"],
// Cell: ({renderedCellValue}) => (
// <Typography variant="body2">{renderedCellValue}</Typography>
// ),
// },
{
accessorFn: (row) => row.state_name,
id: "state_id",
header: t("CommercialChief.state_name"),
enableColumnFilter: false,
datatype: "numeric",
// filterFn: "equals",
// filterSelectOptions: [
// ],
// filterVariant: "select",
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),

View File

@@ -161,47 +161,12 @@ function DashboardDevelopmentAssistantComponent() {
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
// {
// accessorFn: (row) => row.navgan_id,
// id: "navgan_id",
// header: t("DevelopmentAssistant.navgan_id"),
// enableColumnFilter: true,
// datatype: "numeric",
// filterFn: "equals",
// columnFilterModeOptions: [
// "equals",
// "notEquals",
// "contains",
// "lessThan",
// "greaterThan",
// "between",
// ],
// Cell: ({renderedCellValue}) => (
// <Typography variant="body2">{renderedCellValue}</Typography>
// ),
// },
// {
// accessorFn: (row) => row.vehicle_type,
// id: "vehicle_type",
// header: t("DevelopmentAssistant.vehicle_type"),
// enableColumnFilter: true,
// datatype: "text",
// filterFn: "contains",
// columnFilterModeOptions: ["contains", "equals", "notEquals"],
// Cell: ({renderedCellValue}) => (
// <Typography variant="body2">{renderedCellValue}</Typography>
// ),
// },
{
accessorFn: (row) => row.state_name,
id: "state_id",
header: t("DevelopmentAssistant.state_name"),
enableColumnFilter: false,
datatype: "numeric",
// filterFn: "equals",
// filterSelectOptions: [
// ],
// filterVariant: "select",
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),

View File

@@ -160,47 +160,12 @@ function DashboardInspectorExpertComponent() {
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
// {
// accessorFn: (row) => row.navgan_id,
// id: "navgan_id",
// header: t("InspectorExpert.navgan_id"),
// enableColumnFilter: true,
// datatype: "numeric",
// filterFn: "equals",
// columnFilterModeOptions: [
// "equals",
// "notEquals",
// "contains",
// "lessThan",
// "greaterThan",
// "between",
// ],
// Cell: ({renderedCellValue}) => (
// <Typography variant="body2">{renderedCellValue}</Typography>
// ),
// },
// {
// accessorFn: (row) => row.vehicle_type,
// id: "vehicle_type",
// header: t("InspectorExpert.vehicle_type"),
// enableColumnFilter: true,
// datatype: "text",
// filterFn: "contains",
// columnFilterModeOptions: ["contains", "equals", "notEquals"],
// Cell: ({renderedCellValue}) => (
// <Typography variant="body2">{renderedCellValue}</Typography>
// ),
// },
{
accessorFn: (row) => row.state_name,
id: "state_id",
header: t("InspectorExpert.state_name"),
enableColumnFilter: false,
datatype: "numeric",
// filterFn: "equals",
// filterSelectOptions: [
// ],
// filterVariant: "select",
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),

View File

@@ -197,10 +197,6 @@ function DashboardMachinaryOfficeComponent() {
header: t("MachinaryOffice.state_name"),
enableColumnFilter: false,
datatype: "numeric",
// filterFn: "equals",
// filterSelectOptions: [
// ],
// filterVariant: "select",
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),

View File

@@ -198,10 +198,6 @@ function DashboardNavganProvinceManagerComponent() {
header: t("NavganProvinceManager.state_name"),
enableColumnFilter: false,
datatype: "numeric",
// filterFn: "equals",
// filterSelectOptions: [
// ],
// filterVariant: "select",
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),

View File

@@ -2,7 +2,7 @@ import DashboardLayouts from "@/layouts/dashboardLayouts";
import {Box, IconButton, Typography} from "@mui/material";
import ClearIcon from "@mui/icons-material/Clear";
import {useMemo} from "react";
import {GET_PASSENGER_BOSS, GET_PASSENGER_OFFICE} from "@/core/data/apiRoutes";
import {GET_PASSENGER_BOSS} from "@/core/data/apiRoutes";
import {useTranslations} from "next-intl";
import TableRowActions from "./TableRowActions";
import {LocalizationProvider, MobileDateTimePicker,} from "@mui/x-date-pickers";
@@ -198,10 +198,6 @@ function DashboardPassengerOfficeComponent() {
header: t("PassengerBoss.state_name"),
enableColumnFilter: false,
datatype: "numeric",
// filterFn: "equals",
// filterSelectOptions: [
// ],
// filterVariant: "select",
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),

View File

@@ -199,10 +199,6 @@ function DashboardPassengerOfficeComponent() {
header: t("PassengerOffice.state_name"),
enableColumnFilter: false,
datatype: "numeric",
// filterFn: "equals",
// filterSelectOptions: [
// ],
// filterVariant: "select",
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),

View File

@@ -161,47 +161,12 @@ function DashboardProvinceHeadExpertComponent() {
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
// {
// accessorFn: (row) => row.navgan_id,
// id: "navgan_id",
// header: t("ProvinceHeadExpert.navgan_id"),
// enableColumnFilter: true,
// datatype: "numeric",
// filterFn: "equals",
// columnFilterModeOptions: [
// "equals",
// "notEquals",
// "contains",
// "lessThan",
// "greaterThan",
// "between",
// ],
// Cell: ({renderedCellValue}) => (
// <Typography variant="body2">{renderedCellValue}</Typography>
// ),
// },
// {
// accessorFn: (row) => row.vehicle_type,
// id: "vehicle_type",
// header: t("ProvinceHeadExpert.vehicle_type"),
// enableColumnFilter: true,
// datatype: "text",
// filterFn: "contains",
// columnFilterModeOptions: ["contains", "equals", "notEquals"],
// Cell: ({renderedCellValue}) => (
// <Typography variant="body2">{renderedCellValue}</Typography>
// ),
// },
{
accessorFn: (row) => row.state_name,
id: "state_id",
header: t("ProvinceHeadExpert.state_name"),
enableColumnFilter: false,
datatype: "numeric",
// filterFn: "equals",
// filterSelectOptions: [
// ],
// filterVariant: "select",
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),

View File

@@ -162,47 +162,12 @@ function DashboardRefahiProvinceManagerComponent() {
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
// {
// accessorFn: (row) => row.navgan_id,
// id: "navgan_id",
// header: t("RefahiProvinceManager.navgan_id"),
// enableColumnFilter: true,
// datatype: "numeric",
// filterFn: "equals",
// columnFilterModeOptions: [
// "equals",
// "notEquals",
// "contains",
// "lessThan",
// "greaterThan",
// "between",
// ],
// Cell: ({renderedCellValue}) => (
// <Typography variant="body2">{renderedCellValue}</Typography>
// ),
// },
// {
// accessorFn: (row) => row.vehicle_type,
// id: "vehicle_type",
// header: t("RefahiProvinceManager.vehicle_type"),
// enableColumnFilter: true,
// datatype: "text",
// filterFn: "contains",
// columnFilterModeOptions: ["contains", "equals", "notEquals"],
// Cell: ({renderedCellValue}) => (
// <Typography variant="body2">{renderedCellValue}</Typography>
// ),
// },
{
accessorFn: (row) => row.state_name,
id: "state_id",
header: t("RefahiProvinceManager.state_name"),
enableColumnFilter: false,
datatype: "numeric",
// filterFn: "equals",
// filterSelectOptions: [
// ],
// filterVariant: "select",
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),

View File

@@ -198,10 +198,6 @@ function DashboardTransportationAssistanceComponent() {
header: t("TransportationAssistance.state_name"),
enableColumnFilter: false,
datatype: "numeric",
// filterFn: "equals",
// filterSelectOptions: [
// ],
// filterVariant: "select",
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),