Browse Source

fix dashboard project

pull/1/head
wahyu 1 year ago
parent
commit
320b0554c7
  1. 7
      src/views/Dashboard/DashboardProject.js

7
src/views/Dashboard/DashboardProject.js

@ -1245,13 +1245,16 @@ const DashboardProject = () => {
</Col>
<Col span={5} style={{ fontSize: 11 }}>
{isReadyProjectDetail && isReadyGantt ? (
plannedCost && dataGantt.data.data.cost_to_complete ? (
dataGantt.data.data.cost_to_complete ? (
renderFormatRupiah(
(parseInt(plannedCost) + dataGantt.data.data.cost_to_complete).toString(),
"Rp."
)
) : (
"Rp. 0"
renderFormatRupiah(
parseInt(plannedCost).toString(),
"Rp."
)
)
) : (
<SingleTextLoader width={100} height={10} />

Loading…
Cancel
Save