Explorar el Código

update dashboard

tags/Baseline_180220205_Frontend
DESKTOP\derek hace 11 meses
padre
commit
87a6e738fd
Se han modificado 1 ficheros con 13 adiciones y 1 borrados
  1. +13
    -1
      src/components/ProjectCashFlow/ProjectCashFlow.tsx

+ 13
- 1
src/components/ProjectCashFlow/ProjectCashFlow.tsx Ver fichero

@@ -303,7 +303,7 @@ const ProjectCashFlow: React.FC = () => {
{
id: "expenditure",
field: "expenditure",
headerName: t("Expenditure (HKD)"),
headerName: t("Manpower Spent(HKD)"),
flex: 0.6,
type: "number",
renderCell: (params:any) => {
@@ -312,6 +312,18 @@ const ProjectCashFlow: React.FC = () => {
)
}
},
{
id: "expense",
field: "expense",
headerName: t("Expense (HKD)"),
flex: 0.6,
type: "number",
renderCell: (params:any) => {
return (
<span>${params.row.expense.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}</span>
)
}
},
{
id: "income",
field: "income",


Cargando…
Cancelar
Guardar