Commit b636af68 authored by syadziy's avatar syadziy

update issue

parent 2ada2d57
...@@ -775,7 +775,8 @@ export default class BalanceSheetOLPA extends Component { ...@@ -775,7 +775,8 @@ export default class BalanceSheetOLPA extends Component {
let valuezz = dataTable2[indexID][data].value !== undefined ? dataTable2[indexID][data].value : dataTable2[indexID][data] let valuezz = dataTable2[indexID][data].value !== undefined ? dataTable2[indexID][data].value : dataTable2[indexID][data]
anjay.push(valuezz == "" ? 0 : valuezz) anjay.push(valuezz == "" ? 0 : valuezz)
} }
// console.log(tst, data, tableMeta.rowData[data]); if (tableMeta.rowData[5] == 'R/E (Cummulative)') {
console.log(tst, data, tableMeta.rowData[data]);}
} }
} else { } else {
let indexID = dataTable2.findIndex((val) => val[20] == item) let indexID = dataTable2.findIndex((val) => val[20] == item)
...@@ -795,11 +796,11 @@ export default class BalanceSheetOLPA extends Component { ...@@ -795,11 +796,11 @@ export default class BalanceSheetOLPA extends Component {
}) })
// console.log(baru) // console.log(baru)
// console.log(anjay) // console.log(anjay)
// if (tableMeta.rowData[5] == 'TOTAL CURRENT ASSETS') { if (tableMeta.rowData[5] == 'R/E (Cummulative)') {
// console.log(splitFormula) console.log(splitFormula)
// console.log(baru) console.log(baru)
// console.log(anjay) console.log(anjay)
// } }
let total = 0 let total = 0
let opt = "" let opt = ""
anjay.map((item, index) => { anjay.map((item, index) => {
......
...@@ -470,8 +470,8 @@ export default class CashFlow extends Component { ...@@ -470,8 +470,8 @@ export default class CashFlow extends Component {
// console.log(JSON.stringify(tableMeta.rowData[6])) // console.log(JSON.stringify(tableMeta.rowData[6]))
let tst = String(item).replace('[M-1]', '') let tst = String(item).replace('[M-1]', '')
if (column != 6) { if (column != 6) {
let data = column - 1 let data = column == 6 ? 17 : column - 1
let period = this.props.periode let period = data == 17 ? Number(this.props.periode) - 1 : this.props.periode
let indexID = tableMeta.rowData[data].formula.findIndex((val) => val.item_formula == String(`@${tst}`) && val.periode == period) let indexID = tableMeta.rowData[data].formula.findIndex((val) => val.item_formula == String(`@${tst}`) && val.periode == period)
if (indexID !== -1) { if (indexID !== -1) {
......
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