Commit 578df934 authored by Riri Novita's avatar Riri Novita

Issue RO & OLPA Cash at Beginning

parent dd8fa451
...@@ -718,8 +718,16 @@ export default class CashFlow extends Component { ...@@ -718,8 +718,16 @@ export default class CashFlow extends Component {
} }
}) })
if (String(tableMeta.rowData[5]).toLocaleLowerCase() == "cash at the beginning period") {
let totalBeginning = dataTable2[tableMeta.rowIndex][18] = dataTable2[tableMeta.rowIndex][6].value
return totalBeginning
}else if (String(tableMeta.rowData[5]).toLocaleLowerCase() == "cash at the end of the period") {
let totalEnd = dataTable2[tableMeta.rowIndex][18] = dataTable2[tableMeta.rowIndex][17].value
return totalEnd
} else {
dataTable2[tableMeta.rowIndex][18] = total dataTable2[tableMeta.rowIndex][18] = total
return total return total
}
// console.log(total); // console.log(total);
} }
......
This diff is collapsed.
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