- Timestamp:
- 6 Mar 2019, 21:33:16 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py
r15288 r15345 317 317 318 318 return _('Matriculation number cannot be set.'), None 319 320 def increaseMatricInteger(self, student): 321 """Increase counter for matric numbers. 322 """ 323 if student.current_mode == 'nd_ft': 324 grok.getSite()['configuration'].next_matric_integer += 1 325 return 326 elif student.current_mode == 'hnd_ft': 327 grok.getSite()['configuration'].next_matric_integer_2 += 1 328 return 329 elif student.current_mode in ('nd_pt, nd_we'): 330 grok.getSite()['configuration'].next_matric_integer_3 += 1 331 return 332 elif student.current_mode in ('hnd_pt, hnd_we'): 333 grok.getSite()['configuration'].next_matric_integer_4 += 1 334 return 335 return
Note: See TracChangeset for help on using the changeset viewer.