expenseAllocation: Accept 'admin' shorthand for 'administration'.

This commit is contained in:
Brett Smith 2020-03-05 12:23:03 -05:00
parent 2ac434b616
commit 99f97d3f58
2 changed files with 3 additions and 0 deletions

View file

@ -23,6 +23,8 @@ class ExpenseAllocations(enum.Enum):
fundraising = 'fundraising'
program = 'program'
admin = administration
class MetaExpenseAllocation(core.PostingChecker):
ACCOUNTS = ('Expenses:',)

View file

@ -24,6 +24,7 @@ VALID_VALUES = {
'program': 'program',
'administration': 'administration',
'fundraising': 'fundraising',
'admin': 'administration',
}
INVALID_VALUES = {