finance: show html reports
This commit is contained in:
7
Makefile
7
Makefile
@@ -15,8 +15,11 @@ finance-md:
|
||||
( \
|
||||
echo 'Finances of the Plain Text Accounting org.'; \
|
||||
echo '<!-- Generated by "make src/finance.md", do not edit directly. -->'; \
|
||||
echo '```cli'; hledger -f finance/pta.journal bs; echo '```'; \
|
||||
echo '```cli'; hledger -f finance/pta.journal is; echo '```'; \
|
||||
echo ; \
|
||||
hledger -f finance/pta.journal bs -O html; \
|
||||
echo ; \
|
||||
hledger -f finance/pta.journal is -O html; \
|
||||
echo ; \
|
||||
echo '```hledger'; hledger -f finance/pta.journal print -x; echo '```'; \
|
||||
) >src/finance.md
|
||||
|
||||
|
||||
@@ -1,41 +1,16 @@
|
||||
Finances of the Plain Text Accounting org.
|
||||
<!-- Generated by "make src/finance.md", do not edit directly. -->
|
||||
```cli
|
||||
Balance Sheet 2024-03-30
|
||||
|
||||
|| 2024-03-30
|
||||
========================++============
|
||||
Assets ||
|
||||
------------------------++------------
|
||||
------------------------++------------
|
||||
|| 0
|
||||
========================++============
|
||||
Liabilities ||
|
||||
------------------------++------------
|
||||
liabilities:payable:sm || $50
|
||||
------------------------++------------
|
||||
|| $50
|
||||
========================++============
|
||||
Net: || $-50
|
||||
```
|
||||
```cli
|
||||
Income Statement 2024-03-30
|
||||
|
||||
|| 2024-03-30
|
||||
==================++============
|
||||
Revenues ||
|
||||
------------------++------------
|
||||
------------------++------------
|
||||
|| 0
|
||||
==================++============
|
||||
Expenses ||
|
||||
------------------++------------
|
||||
expenses:hosting || $50
|
||||
------------------++------------
|
||||
|| $50
|
||||
==================++============
|
||||
Net: || $-50
|
||||
```
|
||||
<style>
|
||||
td { padding:0 0.5em; }
|
||||
td:nth-child(1) { white-space:nowrap; }
|
||||
tr:nth-child(even) td { background-color:#eee; }
|
||||
</style><link rel="stylesheet" href="hledger.css"><table><tr><th colspan="2" style="text-align:left"><h2>Balance Sheet 2024-03-30</h2></th></tr><tr><th></th><th>2024-03-30</th></tr><tr><td colspan="2"> </td></tr><tr><th colspan="2" style="text-align:left">Assets</th></tr><tr><th style="text-align:left">total</th><th class="amount coltotal" style="text-align:right">0</th></tr><tr><td colspan="2"> </td></tr><tr><th colspan="2" style="text-align:left">Liabilities</th></tr><tr><td class="account" style="text-align:left">liabilities:payable:sm</td><td class="amount" style="text-align:right">$50</td></tr><tr><th style="text-align:left">total</th><th class="amount coltotal" style="text-align:right">$50</th></tr><tr><td colspan="2"> </td></tr><tr><th style="text-align:left">Net:</th><th class="amount coltotal" style="text-align:right">$-50</th></tr></table>
|
||||
<style>
|
||||
td { padding:0 0.5em; }
|
||||
td:nth-child(1) { white-space:nowrap; }
|
||||
tr:nth-child(even) td { background-color:#eee; }
|
||||
</style><link rel="stylesheet" href="hledger.css"><table><tr><th colspan="2" style="text-align:left"><h2>Income Statement 2024-03-30</h2></th></tr><tr><th></th><th>2024-03-30</th></tr><tr><td colspan="2"> </td></tr><tr><th colspan="2" style="text-align:left">Revenues</th></tr><tr><th style="text-align:left">total</th><th class="amount coltotal" style="text-align:right">0</th></tr><tr><td colspan="2"> </td></tr><tr><th colspan="2" style="text-align:left">Expenses</th></tr><tr><td class="account" style="text-align:left">expenses:hosting</td><td class="amount" style="text-align:right">$50</td></tr><tr><th style="text-align:left">total</th><th class="amount coltotal" style="text-align:right">$50</th></tr><tr><td colspan="2"> </td></tr><tr><th style="text-align:left">Net:</th><th class="amount coltotal" style="text-align:right">$-50</th></tr></table>
|
||||
```hledger
|
||||
2024-03-30 begin tracking finances of the plaintextaccounting org.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user