- Timestamp:
- 3 Jan 2023, 17:40:18 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r17236 r17255 49 49 'form.lagos_abuja': _(u'Travel History'), 50 50 'form.company_suspected': _(u'History of Contact/Infection'), 51 'form.genotype': _(u'TISHIP Registration Form Data'), 51 52 } 52 53 … … 94 95 if not student.state in acc_details['allowed_states']: 95 96 return _("You are in the wrong registration state.") 96 if student['studycourse'].current_session != acc_details[ 97 'booking_session']: 98 return _('Your current session does not ' 99 'match accommodation session.') 97 #if student['studycourse'].current_session != acc_details[ 98 # 'booking_session']: 99 # return _('Your current session does not ' 100 # 'match accommodation session.') 101 if acc_details['booking_session'] - student[ 102 'studycourse'].current_session > self.ACCOMMODATION_SPAN: 103 return _('Your current session does not allow ' + \ 104 'to book accommodation.') 100 105 stage = bt.split('_')[2] 101 106 if not student.is_postgrad and stage != 'fr' and not student[
Note: See TracChangeset for help on using the changeset viewer.