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

@@ -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>
),
},
{