Ignore:
Timestamp:
3 Nov 2011, 15:31:49 (13 years ago)
Author:
Henrik Bettermann
Message:

Move registration_state definitions from students/workflow.py to interfaces.py.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/workflow.py

    r6816 r6990  
    44from hurry.workflow.workflow import Transition, WorkflowState, NullCondition
    55from hurry.workflow.interfaces import IWorkflowState, IWorkflowTransitionEvent
    6 from waeup.sirp.interfaces import IObjectHistory, IWAeUPWorkflowInfo
     6from waeup.sirp.interfaces import (
     7    IObjectHistory, IWAeUPWorkflowInfo,
     8    CREATED, ADMITTED, CLEARANCE, REQUESTED, CLEARED, PAID, RETURNING,
     9    REGISTERED, VALIDATED)
    710from waeup.sirp.workflow import WAeUPWorkflow, WAeUPWorkflowInfo
    811from waeup.sirp.utils.helpers import get_current_principal
    912from waeup.sirp.students.interfaces import IStudent
    1013from waeup.sirp.students.utils import set_returning_data
    11 
    12 CREATED = 'created'
    13 ADMITTED = 'admitted'
    14 CLEARANCE = 'clearance started'
    15 REQUESTED = 'clearance requested'
    16 CLEARED = 'cleared'
    17 PAID = 'school fee paid'
    18 RETURNING = 'returning'
    19 REGISTERED = 'courses registered'
    20 VALIDATED = 'courses validated'
    2114
    2215REGISTRATION_TRANSITIONS = (
Note: See TracChangeset for help on using the changeset viewer.