Changeset 13510 for main/waeup.uniben/trunk/src/waeup/uniben/students
- Timestamp:
- 27 Nov 2015, 06:14:11 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r13508 r13510 77 77 'match accommodation session.') 78 78 stage = bt.split('_')[2] 79 #################################################################################### 80 #if stage in ('fi', 're'): 81 # return _("Accommodation booking for returning and final year students has not yet started.") 82 #################################################################################### 83 if stage != 'fr' and not student['studycourse'].previous_verdict in ('A', 'B'): 79 if stage != 'fr' and not student[ 80 'studycourse'].previous_verdict in ('A', 'B', 'C', 'Z'): 84 81 return _("Your are not eligible to book accommodation.") 85 if str(acc_details['booking_session']) in student['accommodation'].keys(): 82 if str(acc_details[ 83 'booking_session']) in student['accommodation'].keys(): 86 84 return _('You already booked a bed space in ' 87 85 'current accommodation session.')
Note: See TracChangeset for help on using the changeset viewer.