Changeset 7615 for main/waeup.sirp/trunk/src/waeup/sirp/students/utils.py
- Timestamp:
- 9 Feb 2012, 06:22:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/utils.py
r7511 r7615 82 82 return sid 83 83 84 def set_returning_data(student):85 student['studycourse'].current_level += 10086 student['studycourse'].current_session += 187 verdict = student['studycourse'].current_verdict88 student['studycourse'].current_verdict = '0'89 student['studycourse'].previous_verdict = verdict90 return91 92 84 def set_up_widgets(view, ignore_request=False): 93 85 view.adapters = {} … … 172 164 grok.implements(IStudentsUtils) 173 165 174 def getPaymentDetails(self,category, student): 166 def setReturningData(self, student): 167 student['studycourse'].current_level += 100 168 student['studycourse'].current_session += 1 169 verdict = student['studycourse'].current_verdict 170 student['studycourse'].current_verdict = '0' 171 student['studycourse'].previous_verdict = verdict 172 return 173 174 def getPaymentDetails(self, category, student): 175 175 d = {} 176 176 d['p_item'] = u''
Note: See TracChangeset for help on using the changeset viewer.