Browse Source

Merge pull request 'staging' (#57) from staging into master

Reviewed-on: ordo/adw-frontend#57
pull/2/head
ibnu 2 years ago
parent
commit
367c5b19dc
  1. 6
      src/views/Dashboard/DashboardBOD.js
  2. 4
      src/views/SimproV2/CreatedProyek/DialogFormProyek.js

6
src/views/Dashboard/DashboardBOD.js

@ -307,8 +307,10 @@ const DashboardBOD = () => {
let actualProgress = 0; let actualProgress = 0;
let selisihProgress = 0; let selisihProgress = 0;
// planningProgress = item.scurve[0].data.percentagePlan[item.scurve[0].data.percentagePlan.length - 1] if(item.scurve && item.scurve[0]) {
// actualProgress = item.scurve[0].data.percentageReal[item.scurve[0].data.percentageReal.length - 1] 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]
}
selisihProgress = planningProgress - actualProgress selisihProgress = planningProgress - actualProgress

4
src/views/SimproV2/CreatedProyek/DialogFormProyek.js

@ -654,8 +654,8 @@ const DialogFormProyek = ({
<Option key="warning" value="warning"> <Option key="warning" value="warning">
Warning Warning
</Option> </Option>
<Option key="danger" value="danger"> <Option key="overrun" value="overrun">
Danger Overrun
</Option> </Option>
</Select> </Select>
</FormGroup> </FormGroup>

Loading…
Cancel
Save