Changeset - 747772d7f105
[Not reviewed]
0 1 0
Martin Michlmayr (tbm) - 2 years ago 2019-03-28 14:18:17
tbm@cyrius.com
Fix reference to ledger issue
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
accounts/config/config-accounts.ledger
Show inline comments
...
 
@@ -43,13 +43,13 @@ account Accrued:Accounts Payable:Main Org
 
    assert commodity == "$"
 

	
 
; Organizational Expense Accounts
 

	
 
; NOTE: the payee =~ test is *not* included herein and must be cut-and-pasted
 
;       to the assert in every Expense account because of the following bug:
 
;               http://bugs.ledger-cli.org/show_bug.cgi?id=953
 
;               https://github.com/ledger/ledger/issues/953
 

	
 
define expenseChecker() = (tag("Receipt") !~ /^\s*$/ or tag("Invoice") !~ /^\s*$/ or tag("Statement") !~ /^\s*$/) and tag("Program") !~ /^\s*$/
 
; or payee =~ /NEVER CHARGED/
 

	
 
account Expenses:Main Org:Office Supplies
 
    assert expenseChecker() or payee =~ /NEVER CHARGED/
0 comments (0 inline, 0 general)