Add default ledger & queries to archetypes

This commit is contained in:
Wancat
2022-11-17 18:00:26 +08:00
parent 16722eb9bf
commit 46da56d9f8
3 changed files with 18 additions and 2 deletions

2
.gitignore vendored
View File

@@ -1,6 +1,4 @@
.env .env
test.txt
ledger-quicknote ledger-quicknote
*.txt
.htpasswd .htpasswd
data data

13
archetypes/ledger.txt Normal file
View File

@@ -0,0 +1,13 @@
account assets
account liabilities
account income
account expenses
account equity
account assets:savings
alias savings
account assets:checking
alias checking
account expenses:cash
alias cash
account expenses:food
alias food

5
archetypes/queries.txt Normal file
View File

@@ -0,0 +1,5 @@
資產餘額:b assets
本月開支:b -b "this month"
上月開支:b -b "last month" -e "this month"
記錄列表:r
過去七天:r -b "last 7 days"