diff --git a/src/views/Dashboard/DashboardProject.js b/src/views/Dashboard/DashboardProject.js index f4bc56c..ebc5bfd 100644 --- a/src/views/Dashboard/DashboardProject.js +++ b/src/views/Dashboard/DashboardProject.js @@ -1245,13 +1245,16 @@ const DashboardProject = () => { {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." + ) ) ) : (