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'
|
||||
program = 'program'
|
||||
|
||||
admin = administration
|
||||
|
||||
|
||||
class MetaExpenseAllocation(core.PostingChecker):
|
||||
ACCOUNTS = ('Expenses:',)
|
||||
|
|
|
@ -24,6 +24,7 @@ VALID_VALUES = {
|
|||
'program': 'program',
|
||||
'administration': 'administration',
|
||||
'fundraising': 'fundraising',
|
||||
'admin': 'administration',
|
||||
}
|
||||
|
||||
INVALID_VALUES = {
|
||||
|
|
Loading…
Reference in a new issue