Commit f6806dd5 authored by Rifka Kurnia's avatar Rifka Kurnia

Merge branch 'rifka' into 'master'

bs mr

See merge request !1500
parents c2bd652e f8c60d8a
......@@ -576,14 +576,14 @@ export default class BalanceSheetMR extends Component {
// // console.log(i);
// err = true
// } else
if ( i[18] === "" && (Number(i[14]) < this.state.minValue || Number(i[14]) > this.state.maxValue)) {
if ( i[18] === "" && (Number(i[14]).toFixed(1) < this.state.minValue || Number(i[14]).toFixed(1) > this.state.maxValue)) {
console.log('msk 2');
err = true
}
}
if (String(i[5]) == "Control (should be nil)") {
if (Number(i[9]) < this.state.minValue || Number(i[9]) > this.state.maxValue ) {
if (Number(i[9]).toFixed(1) < this.state.minValue || Number(i[9]).toFixed(1) > this.state.maxValue ) {
errorContrl = true
editAble = 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