TF-104 add province column in loan management page

This commit is contained in:
AmirHossein Mahmoodi
2023-09-30 09:31:35 +03:30
parent b29e6f8267
commit b04f754ead
3 changed files with 20 additions and 0 deletions

View File

@@ -210,6 +210,7 @@
"id": "کد یکتا",
"national_id": "کد ملی",
"phone_number": "موبایل",
"province_name": "استان",
"created_at": "تاریخ درخواست",
"updated_at": "تاریخ بروزرسانی",
"navgan_id": "کد ناوگان",
@@ -221,6 +222,7 @@
"id": "کد یکتا",
"national_id": "کد ملی",
"phone_number": "موبایل",
"province_name": "استان",
"created_at": "تاریخ درخواست",
"updated_at": "تاریخ بروزرسانی",
"navgan_id": "کد ناوگان",

View File

@@ -82,6 +82,15 @@ function DashboardNavganLoanManagementComponent() {
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) => row.province_name,
id: "province_name",
header: t("NavganLoanManagement.province_name"),
enableColumnFilter: false,
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) =>
moment(row.created_at).locale("fa").format("HH:mm | yyyy/MM/DD"),

View File

@@ -82,6 +82,15 @@ function DashboardRefahiLoanManagementComponent() {
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) => row.province_name,
id: "province_name",
header: t("RefahiLoanManagement.province_name"),
enableColumnFilter: false,
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
),
},
{
accessorFn: (row) =>
moment(row.created_at).locale("fa").format("HH:mm | yyyy/MM/DD"),