Skip to content

Commit

Permalink
Fix cash flow statement sum of operating cash flows
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanpranav committed Jun 29, 2024
1 parent 0d78aff commit 1728549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Liber.Forms/styles/cash-flow-statement.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Licensed under the MIT License.
</th>
</tr>
</thead>
<xsl:variable name="operating" select="sum(company/account[type = 'OtherCurrentAsset' or type = 'OtherCurrentLiability' or type = 'CreditCard']/previous) - sum(company/account[type = 'OtherCurrentAsset' or type = 'OtherCurrentLiability' or type = 'CreditCard' or type = 'OtherIncomeExpense']/balance) - $netIncome"/>
<xsl:variable name="operating" select="sum(company/account[type = 'OtherCurrentAsset' or type = 'OtherCurrentLiability' or type = 'CreditCard']/previous) - sum(company/account[type = 'OtherCurrentAsset' or type = 'OtherCurrentLiability' or type = 'CreditCard']/balance) - $netIncome + sum(company/account[type = 'OtherIncomeExpense']/balance)"/>
<xsl:variable name="investing" select="sum(company/account[(type = 'FixedAsset' or type = 'OtherAsset')]/previous) - sum(company/account[type = 'FixedAsset' or type = 'OtherAsset' or type = 'OtherIncomeExpense' or other-equity = 'true']/balance)"/>
<xsl:variable name="financing" select="sum(company/account[(type = 'LongTermLiability')]/previous) - sum(company/account[(type = 'LongTermLiability')]/balance)"/>
<tbody>
Expand Down

0 comments on commit 1728549

Please sign in to comment.