diff --git a/src/views/Dashboard/DashboardProject.js b/src/views/Dashboard/DashboardProject.js index 7922ef8..2e43a7c 100644 --- a/src/views/Dashboard/DashboardProject.js +++ b/src/views/Dashboard/DashboardProject.js @@ -98,6 +98,7 @@ const DashboardProject = () => { useEffect(() => { let deviation = 0; if(plannedCost && totalCost){ + console.log("QQQ", [plannedCost, totalCost]); deviation = plannedCost - totalCost; } setRemToComplete(deviation) @@ -581,7 +582,7 @@ const DashboardProject = () => { Est. at Completion {isReadySCurve ? - estAtCompletion > plannedCost ? renderFormatRupiah(estAtCompletion, 'Rp.') : renderFormatRupiah(plannedCost, 'Rp.') + plannedCost > bcwp ? renderFormatRupiah(plannedCost, 'Rp.') : renderFormatRupiah(bcwp, 'Rp.') : }