Changeset 2857 for WAeUP_SRP/fceokene/waeup_custom/getAccommodationInfo.py
- Timestamp:
- 4 Dec 2007, 16:28:13 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/fceokene/waeup_custom/getAccommodationInfo.py
r2829 r2857 56 56 students_object = context.portal_url.getPortalObject().campus.students 57 57 student = getattr(students_object, student_id) 58 info[' id'] = student_id58 info['student_id'] = student_id 59 59 info['student'] = student 60 60 … … 70 70 71 71 info['booking_allowed'] = booking_allowed 72 info['online_payment'] = True # for Okene 72 73 if not booking_allowed: 73 74 info['acco'] = None … … 79 80 80 81 bt = 're' 82 info['maintenance_paid'] = False 81 83 if acco is not None: 82 84 info['acco_doc'] = acco.getContent() 83 85 info['acco_review_state'] = wf.getInfoFor(acco,'review_state',None) 86 info['maintenance_paid'] = info['acco_review_state'] == "maintenance_fee_paid" 84 87 d = {} 85 88 if review_state == "cleared_and_validated":
Note: See TracChangeset for help on using the changeset viewer.