mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-28 12:54:07 +03:00
;journal: account types: fix broken tests
This commit is contained in:
parent
e057857c04
commit
cb599111a6
@ -1,74 +1,74 @@
|
|||||||
; # Here some accounts with type Asset and Cash are declared and
|
# Here some accounts with type Asset and Cash are declared and
|
||||||
; # Liability, Equity, Revenue and Expense accounts are inferred.
|
# Liability, Equity, Revenue and Expense accounts are inferred.
|
||||||
; <
|
<
|
||||||
; account assets ; type:Asset
|
account assets ; type:Asset
|
||||||
; account assets:cash ; type:Cash
|
account assets:cash ; type:Cash
|
||||||
; account liabilities
|
account liabilities
|
||||||
|
|
||||||
; 2020-01-01
|
2020-01-01
|
||||||
; assets 1
|
assets 1
|
||||||
; assets:cash 1
|
assets:cash 1
|
||||||
; liabilities -1
|
liabilities -1
|
||||||
; revenues 1
|
revenues -1
|
||||||
; expenses -1
|
expenses 1
|
||||||
; equity
|
equity
|
||||||
|
|
||||||
; # 1. bse reports the balance sheet accounts in the proper section.
|
# 1. bse reports the balance sheet accounts in the proper section.
|
||||||
; # A Cash account is also an Asset.
|
# A Cash account is also an Asset.
|
||||||
; $ hledger -f- bse
|
$ hledger -f- bse
|
||||||
; Balance Sheet With Equity 2020-01-01
|
Balance Sheet With Equity 2020-01-01
|
||||||
|
|
||||||
; || 2020-01-01
|
|| 2020-01-01
|
||||||
; =============++============
|
=============++============
|
||||||
; Assets ||
|
Assets ||
|
||||||
; -------------++------------
|
-------------++------------
|
||||||
; assets || 1
|
assets || 1
|
||||||
; assets:cash || 1
|
assets:cash || 1
|
||||||
; -------------++------------
|
-------------++------------
|
||||||
; || 2
|
|| 2
|
||||||
; =============++============
|
=============++============
|
||||||
; Liabilities ||
|
Liabilities ||
|
||||||
; -------------++------------
|
-------------++------------
|
||||||
; liabilities || 1
|
liabilities || 1
|
||||||
; -------------++------------
|
-------------++------------
|
||||||
; || 1
|
|| 1
|
||||||
; =============++============
|
=============++============
|
||||||
; Equity ||
|
Equity ||
|
||||||
; -------------++------------
|
-------------++------------
|
||||||
; equity || 1
|
equity || 1
|
||||||
; -------------++------------
|
-------------++------------
|
||||||
; || 1
|
|| 1
|
||||||
; =============++============
|
=============++============
|
||||||
; Net: || 0
|
Net: || 0
|
||||||
|
|
||||||
; # 2. cashflow reports the Cash account.
|
# 2. cashflow reports the Cash account.
|
||||||
; $ hledger -f- cf
|
$ hledger -f- cf
|
||||||
; Cashflow Statement 2020-01-01
|
Cashflow Statement 2020-01-01
|
||||||
|
|
||||||
; || 2020-01-01
|
|| 2020-01-01
|
||||||
; =============++============
|
=============++============
|
||||||
; Cash flows ||
|
Cash flows ||
|
||||||
; -------------++------------
|
-------------++------------
|
||||||
; assets:cash || 1
|
assets:cash || 1
|
||||||
; -------------++------------
|
-------------++------------
|
||||||
; || 1
|
|| 1
|
||||||
|
|
||||||
; # 3. is reports the income statement accounts in the proper section.
|
# 3. is reports the income statement accounts in the proper section.
|
||||||
; $ hledger -f- is
|
$ hledger -f- is
|
||||||
; Income Statement 2020-01-01
|
Income Statement 2020-01-01
|
||||||
|
|
||||||
; || 2020-01-01
|
|| 2020-01-01
|
||||||
; ==========++============
|
==========++============
|
||||||
; Revenues ||
|
Revenues ||
|
||||||
; ----------++------------
|
----------++------------
|
||||||
; revenues || 1
|
revenues || 1
|
||||||
; ----------++------------
|
----------++------------
|
||||||
; || 1
|
|| 1
|
||||||
; ==========++============
|
==========++============
|
||||||
; Expenses ||
|
Expenses ||
|
||||||
; ----------++------------
|
----------++------------
|
||||||
; expenses || 1
|
expenses || 1
|
||||||
; ----------++------------
|
----------++------------
|
||||||
; || 1
|
|| 1
|
||||||
; ==========++============
|
==========++============
|
||||||
; Net: || 0
|
Net: || 0
|
||||||
|
Loading…
Reference in New Issue
Block a user