Commit cde76456 authored by fahrur huzain's avatar fahrur huzain

Merge branch 'ENV-DEV' into 'ENV-STAGING'

Env dev

See merge request !2121
parents e755736d aa7174e7
......@@ -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