add statement count coloumn in data table
This commit is contained in:
@@ -196,6 +196,7 @@
|
||||
"NavganProvinceManager": {
|
||||
"name": "نام",
|
||||
"id": "کد یکتا",
|
||||
"statement_count": "تعداد صورت وضعیت",
|
||||
"shenase_meli": "شناسه ملی",
|
||||
"is_legal_person": "نوع شخص",
|
||||
"haghighi": "حقیقی",
|
||||
@@ -219,6 +220,7 @@
|
||||
},
|
||||
"PassengerBoss": {
|
||||
"name": "نام",
|
||||
"statement_count": "تعداد صورت وضعیت",
|
||||
"id": "کد یکتا",
|
||||
"score": "رتبه",
|
||||
"navgan_capacity": "ظرفیت",
|
||||
@@ -277,6 +279,7 @@
|
||||
"NavganLoanManagement": {
|
||||
"name": "نام",
|
||||
"id": "کد یکتا",
|
||||
"statement_count": "تعداد صورت وضعیت",
|
||||
"score": "رتبه",
|
||||
"navgan_capacity": "ظرفیت",
|
||||
"manufacture_date": "سال ساخت",
|
||||
@@ -322,6 +325,7 @@
|
||||
"TransportationAssistance": {
|
||||
"name": "نام",
|
||||
"id": "کد یکتا",
|
||||
"statement_count": "تعداد صورت وضعیت",
|
||||
"shenase_meli": "شناسه ملی",
|
||||
"is_legal_person": "نوع شخص",
|
||||
"haghighi": "حقیقی",
|
||||
@@ -357,6 +361,7 @@
|
||||
},
|
||||
"MachinaryOffice": {
|
||||
"name": "نام",
|
||||
"statement_count": "تعداد صورت وضعیت",
|
||||
"id": "کد یکتا",
|
||||
"score": "رتبه",
|
||||
"navgan_capacity": "ظرفیت",
|
||||
@@ -609,6 +614,7 @@
|
||||
},
|
||||
"LoanHistory": {
|
||||
"id": "کد یکتا",
|
||||
"statement_count": "تعداد صورت وضعیت",
|
||||
"name": "نام",
|
||||
"score": "رتبه",
|
||||
"navgan_capacity": "ظرفیت",
|
||||
|
||||
@@ -162,6 +162,20 @@ function DashboardLoanHistoryComponent() {
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.statement_count,
|
||||
id: "statement_count",
|
||||
header: t("LoanHistory.statement_count"),
|
||||
enableColumnFilter: true,
|
||||
datatype: "numeric",
|
||||
filterFn: "equals",
|
||||
columnFilterModeOptions: [
|
||||
"equals",
|
||||
],
|
||||
Cell: ({renderedCellValue}) => (
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.score,
|
||||
id: "score",
|
||||
|
||||
@@ -163,6 +163,20 @@ function DashboardMachinaryOfficeComponent() {
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.statement_count,
|
||||
id: "statement_count",
|
||||
header: t("MachinaryOffice.statement_count"),
|
||||
enableColumnFilter: true,
|
||||
datatype: "numeric",
|
||||
filterFn: "equals",
|
||||
columnFilterModeOptions: [
|
||||
"equals",
|
||||
],
|
||||
Cell: ({renderedCellValue}) => (
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.score,
|
||||
id: "score",
|
||||
|
||||
@@ -163,6 +163,20 @@ function DashboardNavganLoanManagementComponent() {
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.statement_count,
|
||||
id: "statement_count",
|
||||
header: t("NavganLoanManagement.statement_count"),
|
||||
enableColumnFilter: true,
|
||||
datatype: "numeric",
|
||||
filterFn: "equals",
|
||||
columnFilterModeOptions: [
|
||||
"equals",
|
||||
],
|
||||
Cell: ({renderedCellValue}) => (
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.score,
|
||||
id: "score",
|
||||
|
||||
@@ -164,6 +164,20 @@ function DashboardNavganProvinceManagerComponent() {
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.statement_count,
|
||||
id: "statement_count",
|
||||
header: t("NavganProvinceManager.statement_count"),
|
||||
enableColumnFilter: true,
|
||||
datatype: "numeric",
|
||||
filterFn: "equals",
|
||||
columnFilterModeOptions: [
|
||||
"equals",
|
||||
],
|
||||
Cell: ({renderedCellValue}) => (
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.vehicle_type,
|
||||
id: "vehicle_type",
|
||||
|
||||
@@ -164,6 +164,20 @@ function DashboardPassengerOfficeComponent() {
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.statement_count,
|
||||
id: "statement_count",
|
||||
header: t("PassengerBoss.statement_count"),
|
||||
enableColumnFilter: true,
|
||||
datatype: "numeric",
|
||||
filterFn: "equals",
|
||||
columnFilterModeOptions: [
|
||||
"equals",
|
||||
],
|
||||
Cell: ({renderedCellValue}) => (
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.score,
|
||||
id: "score",
|
||||
|
||||
@@ -164,6 +164,20 @@ function DashboardTransportationAssistanceComponent() {
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.statement_count,
|
||||
id: "statement_count",
|
||||
header: t("TransportationAssistance.statement_count"),
|
||||
enableColumnFilter: true,
|
||||
datatype: "numeric",
|
||||
filterFn: "equals",
|
||||
columnFilterModeOptions: [
|
||||
"equals",
|
||||
],
|
||||
Cell: ({renderedCellValue}) => (
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.vehicle_type,
|
||||
id: "vehicle_type",
|
||||
|
||||
Reference in New Issue
Block a user