Browse Source

feat: add Total Progress in project information

pull/10/head
wahyun 5 months ago
parent
commit
cea23eebc0
  1. 6
      src/views/SimproV2/CreatedProyek/index.js

6
src/views/SimproV2/CreatedProyek/index.js

@ -378,6 +378,7 @@ const CreatedProyek = ({ params, ...props }) => {
"value_proyek",
"income_year",
"deleted_at",
"persentase_progress",
"deleted_by_id"
],
joins: [
@ -1759,6 +1760,11 @@ const CreatedProyek = ({ params, ...props }) => {
: `${formatThousand(text)}`;
},
},
{
title: "Total Progress (%)", dataIndex: "persentase_progress", key: "persentase_progress", render: (text, record) => {
return text ? +(Math.round(text + "e+2") + "e-2") + '%' : 0 + '%'
}
},
{
title: "Project Type",
dataIndex: "color_progress",

Loading…
Cancel
Save