Changeset 15382 for main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
- Timestamp:
- 3 Apr 2019, 10:55:16 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r15376 r15382 154 154 is as an attribute of the site configuration container. 155 155 """ 156 if student.current_mode in ('ug_pt', 'de_pt', ' dsh'):156 if student.current_mode in ('ug_pt', 'de_pt', 'ug_dsh', 'de_dsh'): 157 157 grok.getSite()['configuration'].next_matric_integer += 1 158 158 return … … 197 197 return None, "AAU/SPS/%s/%s/%s/%s/%05d" % ( 198 198 faccode, depcode, year, degree, next_integer) 199 if student.current_mode in (' dsh',):199 if student.current_mode in ('ug_dsh', 'de_dsh'): 200 200 next_integer = grok.getSite()['configuration'].next_matric_integer 201 201 if next_integer == 0:
Note: See TracChangeset for help on using the changeset viewer.