- Timestamp:
- 8 Oct 2024, 01:15:11 (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py
r17939 r17940 245 245 return None, payment 246 246 247 def checkAccommodationRequirements(self, student, acc_details): 248 msg = super(CustomStudentsUtils, self).checkAccommodationRequirements( 249 student, acc_details) 250 if msg: 251 return msg 252 if student.faccode not in ('FLW', 'FMED',): 253 return _('You are not eligible to book accommodation.') 254 return 255 247 256 def getAccommodationDetails(self, student): 248 257 """Determine the accommodation data of a student. … … 276 285 else: 277 286 sex = 'male' 278 special_handling = ' na'287 special_handling = 'regular' 279 288 if student.faccode in ('FLW',): 280 289 special_handling = 'oyibu'
Note: See TracChangeset for help on using the changeset viewer.