Fix reference to ledger issue

This commit is contained in:
Martin Michlmayr 2019-03-28 21:18:17 +07:00
parent 776012db62
commit 747772d7f1
No known key found for this signature in database
GPG key ID: 3D0787AAAF6C61DD

View file

@ -46,7 +46,7 @@ account Accrued:Accounts Payable:Main Org
; NOTE: the payee =~ test is *not* included herein and must be cut-and-pasted ; 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: ; 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*$/ define expenseChecker() = (tag("Receipt") !~ /^\s*$/ or tag("Invoice") !~ /^\s*$/ or tag("Statement") !~ /^\s*$/) and tag("Program") !~ /^\s*$/
; or payee =~ /NEVER CHARGED/ ; or payee =~ /NEVER CHARGED/