Changeset - 767c83d53359
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 7 years ago 2014-08-05 02:29:26
bkuhn@ebb.org
Additional Program tag already in books.ledger
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
accounts/config/config-tags.ledger
Show inline comments
...
 
@@ -43,13 +43,13 @@ tag IncomeType
 
; Program tag must match the general format of a ledger account as an
 
; assertion, but we at least check known names of programs, so that warnings
 
; are produced if a new program never seen before is encountered.
 

	
 
tag Program
 
    assert value =~ /[ A-z0-9\-]+(:[ A-z0-9\-]+)*/
 
    check  value =~ /^(Main Org:(Overhead|Direct Fundraising))$/
 
    check  value =~ /^(Main Org:(Overhead|Direct Fundraising|Software:Internal))$/
 

	
 

	
 
; Entity tag is just a string, but shouldn't have spaces, just letters,
 
; numbers and dashes.
 

	
 
tag Entity
0 comments (0 inline, 0 general)