|
|
|
@ -587,19 +587,19 @@ const DashboardProject = () => {
|
|
|
|
|
</Col> |
|
|
|
|
<Col span={7} style={{fontSize: 11, fontWeight: 'bold'}}><i className="fa fa-calendar" style={{marginRight:8}}></i>Cost Deviation</Col> |
|
|
|
|
<Col span={5} style={{fontSize: 11}}> |
|
|
|
|
{isReadyProjectDetail && isReadyIntegrationInvoice ? |
|
|
|
|
totalCost > plannedCost ? renderFormatRupiah(totalCost-plannedCost, 'Rp.') : 'Rp. 0' |
|
|
|
|
: <SingleTextLoader width={100} height={10} /> |
|
|
|
|
} |
|
|
|
|
{/* {isReadyProjectDetail && isReadyIntegrationInvoice ? */} |
|
|
|
|
{/* totalCost > plannedCost ? renderFormatRupiah(totalCost-plannedCost, 'Rp.') : 'Rp. 0' */} |
|
|
|
|
{/* : <SingleTextLoader width={100} height={10} /> */} |
|
|
|
|
{/* } */} |
|
|
|
|
</Col> |
|
|
|
|
</Row> |
|
|
|
|
<Row> |
|
|
|
|
<Col span={7} style={{fontSize: 11, fontWeight: 'bold'}}><i className="fa fa-calendar" style={{marginRight:8}}></i>Rem. to Complete</Col> |
|
|
|
|
<Col span={5} style={{fontSize: 11}}> |
|
|
|
|
{isReadyProjectDetail && isReadyIntegrationInvoice ? |
|
|
|
|
remToComplete ? renderFormatRupiah(plannedCost - totalCost, 'Rp.') : '-' |
|
|
|
|
: <SingleTextLoader width={100} height={10} /> |
|
|
|
|
} |
|
|
|
|
{/* {isReadyProjectDetail && isReadyIntegrationInvoice ? */} |
|
|
|
|
{/* remToComplete ? renderFormatRupiah(plannedCost - totalCost, 'Rp.') : '-' */} |
|
|
|
|
{/* : <SingleTextLoader width={100} height={10} /> */} |
|
|
|
|
{/* } */} |
|
|
|
|
</Col> |
|
|
|
|
</Row> |
|
|
|
|
</div> |
|
|
|
|