Commit 1b810111 authored by ardiansyah's avatar ardiansyah

Merge branch 'ENV-STAGING' into 'ENV-PROD'

Env staging

See merge request !2122
parents c22283dd cde76456
......@@ -680,11 +680,15 @@ export default class ProfitLossMR extends Component {
this.state.dataTable.map((i, index) => {
if (i[0] === 3) {
// console.log(i);
if (i[19] === "" && (this.props.defaultCurrency.id == 1 ? fixNumber(Number(i[16]), 1) : Number(i[16]) < this.state.minValue || this.props.defaultCurrency.id == 1 ? fixNumber(Number(i[16]), 1) : Number(i[16]) > this.state.maxValue)) {
if (i[19] === "" && (fixNumber(Number(i[16]), 1) < this.state.minValue || fixNumber(Number(i[16]), 1) > this.state.maxValue)) {
console.log('msk 1');
// console.log(i);
err = true
}
// if (i[19] === "" && (this.props.defaultCurrency.id == 1 ? fixNumber(Number(i[16]), 1) : Number(i[16]) < this.state.minValue || this.props.defaultCurrency.id == 1 ? fixNumber(Number(i[16]), 1) : Number(i[16]) > this.state.maxValue)) {
// console.log('msk 1');
// // console.log(i);
// err = true
// }
// else if ( i[20] === "" && (Number(i[16]) < this.state.minValue || Number(i[16]) > this.state.maxValue)) {
// console.log('msk 2');
// 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