delete priority coloumn

This commit is contained in:
2024-05-26 14:06:36 +03:30
parent a586e7504a
commit 93e39b40ee
6 changed files with 6 additions and 82 deletions

View File

@@ -31,25 +31,6 @@ function DashboardLoanHistoryComponent() {
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) => row.score,
id: "score",
header: t("LoanHistory.score"),
enableColumnFilter: true,
datatype: "numeric",
filterFn: "equals",
columnFilterModeOptions: [
"equals",
"notEquals",
"contains",
"lessThan",
"greaterThan",
"between",
],
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) => row.is_legal_person,
id: "is_legal_person",
@@ -509,7 +490,7 @@ function DashboardLoanHistoryComponent() {
CustomToolbar={TableToolbar}
enableLastUpdate={true}
sorting={[{
id: 'score', desc: false
id: 'statement_count', desc: true
}]}
enablePinning={true}
enableDensityToggle={false}

View File

@@ -32,25 +32,6 @@ function DashboardNavganLoanManagementComponent() {
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) => row.score,
id: "score",
header: t("NavganLoanManagement.score"),
enableColumnFilter: true,
datatype: "numeric",
filterFn: "equals",
columnFilterModeOptions: [
"equals",
"notEquals",
"contains",
"lessThan",
"greaterThan",
"between",
],
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) => row.is_legal_person,
id: "is_legal_person",
@@ -495,7 +476,7 @@ function DashboardNavganLoanManagementComponent() {
CustomToolbar={TableToolbar}
enableLastUpdate={true}
sorting={[{
id: 'score', desc: false
id: 'statement_count', desc: true
}]}
enablePinning={true}
enableDensityToggle={false}

View File

@@ -436,7 +436,7 @@ function DashboardNavganProvinceManagerComponent() {
CustomToolbar={TableToolbar}
enableLastUpdate={true}
sorting={[{
id: 'id', desc: false
id: 'statement_count', desc: true
}]}
enablePinning={true}
enableDensityToggle={false}

View File

@@ -32,25 +32,6 @@ function DashboardPassengerOfficeComponent() {
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) => row.score,
id: "score",
header: t("PassengerBoss.score"),
enableColumnFilter: true,
datatype: "numeric",
filterFn: "equals",
columnFilterModeOptions: [
"equals",
"notEquals",
"contains",
"lessThan",
"greaterThan",
"between",
],
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) => row.is_legal_person,
id: "is_legal_person",
@@ -326,7 +307,7 @@ function DashboardPassengerOfficeComponent() {
CustomToolbar={TableToolbar}
enableLastUpdate={true}
sorting={[{
id: 'score', desc: false
id: 'statement_count', desc: true
}]}
enablePinning={true}
enableDensityToggle={false}

View File

@@ -31,25 +31,6 @@ function DashboardReserveLoan() {
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) => row.score,
id: "score",
header: t("ReserveLoan.score"),
enableColumnFilter: true,
datatype: "numeric",
filterFn: "equals",
columnFilterModeOptions: [
"equals",
"notEquals",
"contains",
"lessThan",
"greaterThan",
"between",
],
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) => row.is_legal_person,
id: "is_legal_person",
@@ -491,7 +472,7 @@ function DashboardReserveLoan() {
CustomToolbar={TableToolbar}
enableLastUpdate={true}
sorting={[{
id: 'score', desc: false
id: 'statement_count', desc: true
}]}
enablePinning={true}
enableDensityToggle={false}

View File

@@ -449,7 +449,7 @@ function DashboardTransportationAssistanceComponent() {
CustomToolbar={TableToolbar}
enableLastUpdate={true}
sorting={[{
id: 'id', desc: false
id: 'statement_count', desc: true
}]}
enablePinning={true}
enableDensityToggle={false}