Changeset 2903
- Timestamp:
- 10 Dec 2007, 09:03:24 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/uniben/waeup_custom/getAccommodationInfo.py
r2849 r2903 69 69 students_object = context.portal_url.getPortalObject().campus.students 70 70 student = getattr(students_object, student_id) 71 info[' id'] = student_id71 info['student_id'] = student_id 72 72 info['student'] = student 73 73 … … 81 81 "B",) 82 82 83 booking_allowed = False # booking temporarily disabled 84 # the algorithm must be adapted to new course_results catalog 85 # and/or FCEOkene modalities 86 83 #booking_allowed = False 87 84 88 85 info['booking_allowed'] = booking_allowed … … 96 93 info['acco_id'] = acco_id 97 94 bt = 're' 95 info['maintenance_paid'] = False 98 96 if acco is not None: 99 97 info['acco_doc'] = acco.getContent() 100 98 info['acco_review_state'] = wf.getInfoFor(acco,'review_state',None) 99 info['maintenance_paid'] = info['acco_review_state'] == "maintenance_fee_paid" 100 101 101 102 d = {} 102 103 if review_state == "cleared_and_validated":
Note: See TracChangeset for help on using the changeset viewer.