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", "value_proyek",
"income_year", "income_year",
"deleted_at", "deleted_at",
"persentase_progress",
"deleted_by_id" "deleted_by_id"
], ],
joins: [ joins: [
@ -1759,6 +1760,11 @@ const CreatedProyek = ({ params, ...props }) => {
: `${formatThousand(text)}`; : `${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", title: "Project Type",
dataIndex: "color_progress", dataIndex: "color_progress",

Loading…
Cancel
Save