- Timestamp:
- 24 Oct 2012, 09:38:33 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py
r9403 r9404 115 115 else: 116 116 amount = 20000.0 117 elif category == 'hostel_maintenance': 118 acc_details = self.getAccommodationDetails(student) 119 if student['studycourse'].current_session != acc_details[ 120 'booking_session']: 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 \ 125 student.faccode in ('EET','SET','AAT','ICT','EMT'): 126 amount = 12000.0 127 else: 128 amount = 10000.0 129 p_item = acc_details['bt'] 117 130 elif category == 'bed_allocation': 118 131 p_item = self.getAccommodationDetails(student)['bt']
Note: See TracChangeset for help on using the changeset viewer.