expenseAllocation: Accept 'admin' shorthand for 'administration'.
This commit is contained in:
parent
2ac434b616
commit
99f97d3f58
2 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,8 @@ class ExpenseAllocations(enum.Enum):
|
||||||
fundraising = 'fundraising'
|
fundraising = 'fundraising'
|
||||||
program = 'program'
|
program = 'program'
|
||||||
|
|
||||||
|
admin = administration
|
||||||
|
|
||||||
|
|
||||||
class MetaExpenseAllocation(core.PostingChecker):
|
class MetaExpenseAllocation(core.PostingChecker):
|
||||||
ACCOUNTS = ('Expenses:',)
|
ACCOUNTS = ('Expenses:',)
|
||||||
|
|
|
@ -24,6 +24,7 @@ VALID_VALUES = {
|
||||||
'program': 'program',
|
'program': 'program',
|
||||||
'administration': 'administration',
|
'administration': 'administration',
|
||||||
'fundraising': 'fundraising',
|
'fundraising': 'fundraising',
|
||||||
|
'admin': 'administration',
|
||||||
}
|
}
|
||||||
|
|
||||||
INVALID_VALUES = {
|
INVALID_VALUES = {
|
||||||
|
|
Loading…
Reference in a new issue