Changeset 12975 for main/waeup.aaue/trunk/src/waeup/aaue/students
- Timestamp:
- 21 May 2015, 17:05:42 (10 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r11653 r12975 81 81 and student.state in (PAID, ) \ 82 82 and student.is_fresh: 83 return None, "PTP/%s/%s/%s/%05d" % (faccode, depcode, year, next_integer) 83 return None, "PTP/%s/%s/%s/%05d" % ( 84 faccode, depcode, year, next_integer) 85 84 86 #if student.current_mode in ('pg_ft', 'pg_pt'): 85 # return None, "SPS/%s/%s/%s/%05d" % (faccode, depcode, year, next_integer) 87 # return None, "SPS/%s/%s/%s/%05d" % ( 88 # faccode, depcode, year, next_integer) 86 89 #if student.current_mode in ('dp_ft', 'dp_pt'): 87 # return None, "DIP/%s/%s/%s/%05d" % (faccode, depcode, year, next_integer) 90 # return None, "DIP/%s/%s/%s/%05d" % ( 91 # faccode, depcode, year, next_integer) 88 92 #if student.current_mode == 'found': 89 # return _('Foundation programme students don\'t have matric number.'), None 93 # return _( 94 # 'Foundation programme students don\'t have matric number.'), None 90 95 #return None, "%s/%s/%s/%05d" % (faccode, depcode, year, next_integer) 96 91 97 return _('Matriculation number cannot be set.'), None 92 98 -
main/waeup.aaue/trunk/src/waeup/aaue/students/viewlets.py
r11626 r12975 53 53 if self.context.matric_number: 54 54 return '' 55 error, matric_number = students_utils.constructMatricNumber(self.context) 55 error, matric_number = students_utils.constructMatricNumber( 56 self.context) 56 57 if error: 57 58 return ''
Note: See TracChangeset for help on using the changeset viewer.