Changeset 4c6a731


Ignore:
Timestamp:
Jul 6, 2014, 4:10:52 AM (11 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master
Children:
bc1da44
Parents:
cabf7ac
git-author:
Alex Dehnert <adehnert@…> (07/06/14 04:10:52)
git-committer:
Alex Dehnert <adehnert@…> (07/06/14 04:10:52)
Message:

Add my guess for what the layers mean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remit/finance_core/models.py

    r2fb5a35 r4c6a731  
    207207LAYER_CLOSEOUT    = 40
    208208layers=(
    209     (LAYER_BUDGET,      'budget'),
    210     (LAYER_ALLOCATION,  'allocation'),
    211     (LAYER_EXPENDITURE, 'expenditure'),
    212     (LAYER_CLOSEOUT,    'closeout'),
     209    # Guessing the meanings here a bit...
     210    (LAYER_BUDGET,      'budget'),      # requested amount
     211    (LAYER_ALLOCATION,  'allocation'),  # amount approved
     212    (LAYER_EXPENDITURE, 'expenditure'), # spent amount
     213    (LAYER_CLOSEOUT,    'closeout'),    # difference between spent and allocated
     214
     215    # Remit was originally developed for the UA, so I'm guessing the layers
     216    # reflect a process where the treasurer proposes a budget, the body
     217    # approves it (potentially with amendments), committees spend it, and then
     218    # you balance the accounts at the end
     219
    213220)
    214221def get_layer_by_name(name):
Note: See TracChangeset for help on using the changeset viewer.