Commit a6449ec4 authored by Riri Novita's avatar Riri Novita

Merge branch 'dev/riri' into 'ENV-DEV'

Issue RO & OLPA Cash at the beginning

See merge request !1713
parents 4252239d ba3409ae
...@@ -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