- Timestamp:
- 24 Oct 2012, 22:01:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py
r9404 r9409 120 120 'booking_session']: 121 121 return _(u'Current session does not match accommodation session.'), None 122 if student.faccode == 'SSE': 123 amount = 15000.0 124 elif student.current_level in ('100','200','300','400','500') and \ 122 if student.current_level in ('100','200','300','400','500') and \ 125 123 student.faccode in ('EET','SET','AAT','ICT','EMT'): 126 124 amount = 12000.0 127 125 else: 128 126 amount = 10000.0 127 p_item = acc_details['bt'] 128 elif category == 'block_h_maintenance': 129 acc_details = self.getAccommodationDetails(student) 130 if student['studycourse'].current_session != acc_details[ 131 'booking_session']: 132 return _(u'Current session does not match accommodation session.'), None 133 amount = 15000.0 129 134 p_item = acc_details['bt'] 130 135 elif category == 'bed_allocation':
Note: See TracChangeset for help on using the changeset viewer.