Ignore:
Timestamp:
17 Nov 2016, 13:53:42 (8 years ago)
Author:
Henrik Bettermann
Message:

Take state 'processed' into consideration.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/utils.py

    r14004 r14281  
    2626from waeup.kofa.applicants.interfaces import IApplicantsUtils
    2727from waeup.kofa.applicants.workflow import (INITIALIZED,
    28     STARTED, PAID, ADMITTED, NOT_ADMITTED, SUBMITTED, CREATED)
     28    STARTED, PAID, ADMITTED, NOT_ADMITTED, SUBMITTED, CREATED, PROCESSED)
    2929
    3030class ApplicantsUtils(grok.GlobalUtility):
     
    8282        """
    8383        state_stats = {INITIALIZED:0, STARTED:0, PAID:0, SUBMITTED:0,
    84             ADMITTED:0, NOT_ADMITTED:0, CREATED:0}
     84            ADMITTED:0, NOT_ADMITTED:0, CREATED:0, PROCESSED:0}
    8585        cat = getUtility(ICatalog, name='applicants_catalog')
    8686        code = container.code
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/workflow.py

    r13651 r14281  
    3636
    3737
    38 IMPORTABLE_STATES = (INITIALIZED, STARTED, PAID, SUBMITTED, ADMITTED, NOT_ADMITTED)
     38IMPORTABLE_STATES = (INITIALIZED, STARTED, PAID,
     39                     SUBMITTED, ADMITTED, NOT_ADMITTED, PROCESSED)
    3940
    4041application_states_dict = {
Note: See TracChangeset for help on using the changeset viewer.