Changeset 13338 for main/waeup.uniben/trunk/src/waeup/uniben/students
- Timestamp:
- 19 Oct 2015, 05:36:42 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r13337 r13338 77 77 if stage not in ('fr', 'fi'): 78 78 return _("Only fresh and final year students are allowed to book accommodation.") 79 80 #################################################################################### 81 if stage == 'fi': 82 return _("Accommodation booking for final year students has not yet started.") 83 #################################################################################### 84 85 79 86 if stage != 'fr' and not student['studycourse'].previous_verdict in ('A', 'B'): 80 87 return _("Your are not eligible to book accommodation.") … … 181 188 stage = self.getAccommodationDetails(student)['bt'] 182 189 stage = stage.split('_')[2] 190 191 192 ##################################################### 193 if stage == 'fi': 194 return _('Payment temporarily disabled.'), None 195 ##################################################### 196 197 183 198 if stage == 'fr': 184 199 amount += 500.0
Note: See TracChangeset for help on using the changeset viewer.