Browse Source

Merge pull request 'fix dashboard project' (#120) from dev-wahyu into staging

Reviewed-on: ordo/adw-frontend#120
pull/2/head
ibnu 1 year ago
parent
commit
9803de6601
  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