Commit 69a42151 authored by r.kurnia's avatar r.kurnia

olpa bs control issue 13dec21

parent 4a35ebd6
......@@ -559,9 +559,9 @@ export default class BalanceSheetOLPA extends Component {
// console.log(this.state.dataTable)
dataTable.map((i, index) => {
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
} 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
} else if (Number(i[19]) < this.state.minValue || Number(i[19]) > this.state.maxValue) {
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