- Timestamp:
- 20 May 2012, 05:46:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/workflow.py
r8434 r8471 106 106 transition_id = 'pay_school_fee', 107 107 title = _('Pay school fee'), 108 msg = _(' School fee paid'),108 msg = _('Payment made'), 109 109 source = RETURNING, 110 destination = PAID), 111 112 Transition( 113 transition_id = 'pay_pg_fee', 114 title = _('Pay postgraduate school fee'), 115 msg = _('Payment made'), 116 source = PAID, 110 117 destination = PAID), 111 118 … … 115 122 msg = _('School fee payment approved'), 116 123 source = RETURNING, 124 destination = PAID), 125 126 Transition( 127 transition_id = 'approve_pg_fee', 128 title = _('Approve postgraduate payment'), 129 msg = _('School fee payment approved'), 130 source = PAID, 117 131 destination = PAID), 118 132 … … 198 212 199 213 Lock and unlock clearance form. 214 Triger actions after school fee payment. 200 215 """ 201 216 … … 212 227 'pay_school_fee', 'approve_school_fee'): 213 228 getUtility(IStudentsUtils).setReturningData(obj) 229 elif event.transition.transition_id in ( 230 'pay_pg_fee', 'approve_pg_fee'): 231 new_session = obj['studycourse'].current_session + 1 232 obj['studycourse'].current_session = new_session 214 233 # In some tests we don't have a students container 215 234 try:
Note: See TracChangeset for help on using the changeset viewer.