Commit 30259bcf authored by Rifka Kurnia's avatar Rifka Kurnia

Merge branch 'rifka' into 'master'

olpa bs control issue 13dec21

See merge request !1558
parents 4a35ebd6 69a42151
...@@ -559,9 +559,9 @@ export default class BalanceSheetOLPA extends Component { ...@@ -559,9 +559,9 @@ export default class BalanceSheetOLPA extends Component {
// console.log(this.state.dataTable) // console.log(this.state.dataTable)
dataTable.map((i, index) => { dataTable.map((i, index) => {
if (String(i[5]) == "Control (should be nil)") { if (String(i[5]) == "Control (should be nil)") {
if (Number(i[17]) < this.state.minValue || Number(i[17]) > this.state.maxValue) { if (Number(i[17].value) < this.state.minValue || Number(i[17].value) > this.state.maxValue) {
err = true err = true
} else if (Number(i[18]) < this.state.minValue || Number(i[18]) > this.state.maxValue) { } else if (Number(i[18].value) < this.state.minValue || Number(i[18].value) > this.state.maxValue) {
err = true err = true
} else if (Number(i[19]) < this.state.minValue || Number(i[19]) > this.state.maxValue) { } else if (Number(i[19]) < this.state.minValue || Number(i[19]) > this.state.maxValue) {
err = true err = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment