change approved amount to proposed amount

This commit is contained in:
2024-02-21 14:37:25 +03:30
parent 293865a1f0
commit 6249277820
2 changed files with 6 additions and 5 deletions

View File

@@ -434,6 +434,7 @@
"id": "کد یکتا",
"national_serial_number": "سریال پشت کارت ملی",
"birthday": "تاریخ تولد",
"approved_amount": "مبلغ تصویب شده",
"branch_name": "نام شعبه",
"bank_state": "وضعیت بانک",
"state_name": "وضعیت درخواست",

View File

@@ -113,9 +113,9 @@ function DashboardBankManagementComponent() {
),
},
{
accessorFn: (row) => row.proposed_amount,
id: "proposed_amount",
header: t("BankManagement.proposed_amount"),
accessorFn: (row) => row.approved_amount,
id: "approved_amount",
header: t("BankManagement.approved_amount"),
enableColumnFilter: true,
datatype: "text",
filterFn: "equals",
@@ -125,7 +125,7 @@ function DashboardBankManagementComponent() {
"contains",
],
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
<Typography variant="body2">{Number(renderedCellValue).toLocaleString()}</Typography>
),
},
{
@@ -144,7 +144,7 @@ function DashboardBankManagementComponent() {
"between",
],
Cell: ({renderedCellValue}) => (
<Typography variant="body2">{renderedCellValue}</Typography>
<Typography variant="body2">{Number(renderedCellValue).toLocaleString()}</Typography>
),
},
{