start a ledger and a finance page
This commit is contained in:
10
Makefile
10
Makefile
@@ -10,6 +10,16 @@ clean:
|
||||
|
||||
PANDOC?=pandoc
|
||||
|
||||
# help update finance.md from finance/* (manual edits needed)
|
||||
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'; hledger -f finance/pta.journal print -x; echo '```'; \
|
||||
) >src/finance.md
|
||||
|
||||
# temporary workaround for cloudflare pages (pandoc is too old in V1, missing in V2)
|
||||
html-cfp:
|
||||
pandoc --version || ( \
|
||||
|
||||
6
finance/pta.journal
Normal file
6
finance/pta.journal
Normal file
@@ -0,0 +1,6 @@
|
||||
2024-03-30 begin tracking finances of the plaintextaccounting org.
|
||||
|
||||
2024-03-30 Discourse | begin $50/mo hosting at Discourse, with an advance from SM
|
||||
expenses:hosting $50
|
||||
liabilities:payable:sm
|
||||
|
||||
46
src/finance.md
Normal file
46
src/finance.md
Normal file
@@ -0,0 +1,46 @@
|
||||
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
|
||||
```
|
||||
```hledger
|
||||
2024-03-30 begin tracking finances of the plaintextaccounting org.
|
||||
|
||||
2024-03-30 Discourse | begin $50/mo hosting at Discourse, with an advance from SM
|
||||
expenses:hosting $50
|
||||
liabilities:payable:sm $-50
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user