Changeset 17266 for main/waeup.aaue/trunk/src
- Timestamp:
- 11 Jan 2023, 07:18:08 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r17078 r17266 308 308 amount = academic_session.transcript_fee_inter 309 309 elif category == 'bed_allocation': 310 acco_details = self.getAccommodationDetails(student) 311 p_session = acco_details['booking_session'] 312 p_item = acco_details['bt'] 310 313 amount = academic_session.booking_fee 311 314 elif category == 'restitution': … … 317 320 elif category == 'hostel_maintenance': 318 321 amount = 0.0 319 b edticket = student['accommodation'].get(320 str(student.current_session), None)322 booking_session = grok.getSite()['hostels'].accommodation_session 323 bedticket = student['accommodation'].get(str(booking_session), None) 321 324 if bedticket is not None and bedticket.bed is not None: 325 p_session = booking_session 322 326 p_item = bedticket.display_coordinates 323 327 if bedticket.bed.__parent__.maint_fee > 0:
Note: See TracChangeset for help on using the changeset viewer.