-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccebb5f
commit 576745c
Showing
11 changed files
with
94 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
{ | ||
"trial-balance": { | ||
"equityMode": "CurrentStarted" | ||
}, | ||
"balance-sheet": { | ||
"equityMode": "CurrentPosted" | ||
}, | ||
"comparative-balance-sheet": { | ||
"equityMode": "CurrentPosted" | ||
}, | ||
"equity-statement": { | ||
"equityMode": "CurrentPosted" | ||
}, | ||
"cash-flow-statement": { | ||
"cashBasis": true | ||
} | ||
"trial-balance": "CurrentStarted", | ||
"balance-sheet": "CurrentPosted", | ||
"comparative-balance-sheet": "CurrentPosted", | ||
"equity-statement": "CurrentPosted", | ||
"cash-flow-statement": "CashBasis", | ||
"account-summary": "CurrentStarted" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
account-summary.xslt | ||
Copyright (c) 2023-2024 Ishan Pranav. All rights reserved. | ||
Licensed under the MIT License. | ||
--> | ||
<xsl:stylesheet | ||
version="1.0" | ||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
xmlns:msxsl="urn:schemas-microsoft-com:xslt" | ||
xmlns:html="http://www.w3.org/1999/xhtml" | ||
xmlns:liber="urn:liber" | ||
exclude-result-prefixes="msxsl"> | ||
<xsl:include href="base/financial-statement.xslt"/> | ||
<xsl:output method="html" indent="yes"/> | ||
<xsl:template match="/report"> | ||
<xsl:call-template name="financial-statement"> | ||
<xsl:with-param name="title" select="title"/> | ||
<xsl:with-param name="table"> | ||
<thead> | ||
<tr> | ||
<th colspan="2" class="subtitle"> | ||
<xsl:value-of select="company/name"/> | ||
</th> | ||
</tr> | ||
<tr> | ||
<th colspan="2" class="title"> | ||
<xsl:value-of select="title"/> | ||
</th> | ||
</tr> | ||
<tr> | ||
<th colspan="2" class="bar dateline"> | ||
<xsl:value-of select="liber:fdatel(posted)"/> | ||
</th> | ||
</tr> | ||
<tr> | ||
<th></th> | ||
<th class="heading"> | ||
<xsl:value-of select="liber:fdates(posted)"/> | ||
</th> | ||
</tr> | ||
<tr> | ||
<th></th> | ||
<th class="heading"> | ||
<xsl:value-of select="liber:gets('balance')"/> | ||
</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<xsl:for-each select="company/account"> | ||
<tr> | ||
<td class="left account"> | ||
<xsl:value-of select="name"/> | ||
</td> | ||
<td class="right"> | ||
<xsl:value-of select="liber:fm(type, balance)"/> | ||
</td> | ||
</tr> | ||
</xsl:for-each> | ||
</tbody> | ||
</xsl:with-param> | ||
</xsl:call-template> | ||
</xsl:template> | ||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters