|
|
|
@ -15,7 +15,7 @@ import { HealthByBudget, HealthBySchedule } from './Components';
|
|
|
|
|
import { Link } from 'react-router-dom'; |
|
|
|
|
|
|
|
|
|
const DashboardBOD = (props) => { |
|
|
|
|
let role_id = '', user_id='',isLogin='',token=''; |
|
|
|
|
let role_id = '', user_id = '', isLogin = '', token = ''; |
|
|
|
|
if (props.location.state && props.location.state.role_id && props.location.state.user_id) { |
|
|
|
|
role_id = props.location.state.role_id; |
|
|
|
|
user_id = props.location.state.user_id; |
|
|
|
@ -321,7 +321,7 @@ const DashboardBOD = (props) => {
|
|
|
|
|
let actualProgress = 0; |
|
|
|
|
let selisihProgress = 0; |
|
|
|
|
|
|
|
|
|
if(item.scurve && item.scurve[0]) { |
|
|
|
|
if (item.scurve && item.scurve[0]) { |
|
|
|
|
planningProgress = item.scurve[0].data.percentagePlan[item.scurve[0].data.percentagePlan.length - 1] |
|
|
|
|
actualProgress = item.scurve[0].data.percentageReal[item.scurve[0].data.percentageReal.length - 1] |
|
|
|
|
} |
|
|
|
@ -433,9 +433,9 @@ const DashboardBOD = (props) => {
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div style={{ flex: 6, display: 'flex', justifyContent: 'center', alignItems: 'center' }}> |
|
|
|
|
<Link to="/dashboard-project-carousell" style={{ textDecoration: 'none' }}> |
|
|
|
|
<Link to="/dashboard-perproject" style={{ textDecoration: 'none' }}> |
|
|
|
|
<div style={{ backgroundColor: '#DDDDDD', color: '#4C4747', borderRadius: 5, padding: 4, fontWeight: 500, cursor: 'pointer', fontSize: 12, textAlign: 'center', lineHeight: 'normal' }}> |
|
|
|
|
View All Gantt |
|
|
|
|
All Dashboard |
|
|
|
|
</div> |
|
|
|
|
</Link> |
|
|
|
|
</div> |
|
|
|
|