Changeset 2857 for WAeUP_SRP/fceokene/waeup_custom
- Timestamp:
- 4 Dec 2007, 16:28:13 (17 years ago)
- Location:
- WAeUP_SRP/fceokene/waeup_custom
- Files:
-
- 1 added
- 2 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": -
WAeUP_SRP/fceokene/waeup_custom/layout_student_acco_view_slip.pt
r2829 r2857 6 6 widgets python:context.getRenderedWidgets(layout); 7 7 fields python:('bed', 8 9 'acco_res_date', 10 'acco_maint_sc_pin', 8 'acco_res_date', 9 'acco_maint_pay_id', 11 10 'acco_maint_date', 12 11 )"
Note: See TracChangeset for help on using the changeset viewer.