Issue RO & OLPA Cash at the beginning
src
container
OutlookPA
CashFlowOLPA.js
+10 -2
RollingOutlook
CashFlowRO.js
+277 -259
2 changed files
287 additions 261 deletions
... | ... | @@ -718,8 +718,16 @@ export default class CashFlow extends Component { |
} | ||
}) | ||
dataTable2[tableMeta.rowIndex][18] = total | ||
return total | ||
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 | ||
return total | ||
} | ||
// console.log(total); | ||
} | ||
... | ... |
This source diff could not be displayed because it is too large.
You can view the blob instead.