Commit ed2da9df authored by Riri Novita's avatar Riri Novita

Merge branch 'riri' into 'master'

issue 109

See merge request !1495
parents d695283f ac5c137f
...@@ -635,7 +635,7 @@ export default class ProfitLoss extends Component { ...@@ -635,7 +635,7 @@ export default class ProfitLoss extends Component {
// operator.push(item) // operator.push(item)
// } // }
}) })
// if (String(tableMeta.rowData[5]) == "Net Trading Profit (TPAT)") { // if (String(tableMeta.rowData[5]) == "Net Income for the year (NPAT)") {
// console.log(tableMeta.rowData[3]) // console.log(tableMeta.rowData[3])
// console.log(arrayFormula) // console.log(arrayFormula)
// console.log(arrayJumlah) // console.log(arrayJumlah)
...@@ -668,7 +668,7 @@ export default class ProfitLoss extends Component { ...@@ -668,7 +668,7 @@ export default class ProfitLoss extends Component {
} }
}) })
total = R.equals(total, NaN) ? "0.0" : (R.equals(total, Infinity) ? "0.0" : (total == "-Infinity" ? "0.0" : total)) total = R.equals(total, NaN) ? "0.0" : (R.equals(total, Infinity) ? "0.0" : (total == "-Infinity" ? "0.0" : total))
// if (tableMeta.rowData[1] === 20092) { // if (String(tableMeta.rowData[5]) == "Net Income for the year (NPAT)") {
// console.log(total); // console.log(total);
// console.log(arrayJumlah); // console.log(arrayJumlah);
// } // }
...@@ -676,9 +676,9 @@ export default class ProfitLoss extends Component { ...@@ -676,9 +676,9 @@ export default class ProfitLoss extends Component {
// dataTable2[tableMeta.rowIndex][tableMeta.columnIndex] = Number(total) // dataTable2[tableMeta.rowIndex][tableMeta.columnIndex] = Number(total)
// // } // // }
// return Number(total) // return Number(total)
dataTable2[tableMeta.rowIndex][tableMeta.columnIndex] = Number(data) dataTable2[tableMeta.rowIndex][tableMeta.columnIndex] = Number(total)
// } // }
return Number(data) return Number(total)
} }
......
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