-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathledger.txt
45 lines (35 loc) · 1.04 KB
/
ledger.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
ledger
[accounts]
+--- [income]
+--- [cash] (16687 subaccounts)
+--- [alfa] 300
+--- [9096405629] 700
+--- [9096405666] -400
+--- [avangard]
+--- [mobile]
+--- [internet]
+--- [expenses]
+--- [external]
======================================
SYNTAX:
-- TRANSACTION [{transaction-note}] FROM [{account-from}] TO [{account-to}] AT [{date}] SUM [{sum}]
$set default-from to [external.income]
ok
$show settings
-- confirm : True
-- verbose : True
-- default-from : [expenses.not-detailed]
-- default-to : [expenses.not-detailed]
$transaction from cash to mobile sum 300
$make-tran from:cash sum:500
~~ transaction from [cash] to [expenses.not-detailed] at [..today..] sum [500]
~~ [cash]: +500, balance 5344
~~ [external.income]: doesn't exist, creating
~~ [external.income]: -500, balance -500
~~ do (y/n)? y
ok
======================
ACCOUNTS:
[ id | name | created_at | trans_id | parent-id? | balance | ct_turnover | dt_turnover ]
TRANSACTION:
[ id | name | created_at | from_account | to_account | sum | executed ]