Changeset 3117 for WAeUP_SRP/base/skins
- Timestamp:
- 6 Feb 2008, 17:48:40 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/reserve_accommodation.py
r2912 r3117 128 128 #wftool.doActionFor(acco,'pay_maintenance_fee',dest_container=acco) 129 129 return context.REQUEST.RESPONSE.redirect("%s/reserve_accommodation" % student.absolute_url()) 130 pin = str(ds.get('acco_main_sc_pin')) 131 pp = context.portal_pins 132 acco = getattr(student,acco_id) 133 ds.set('acco_maint_date', current) 134 acco.getContent().edit(mapping=ds) 135 wftool.doActionFor(acco,'pay_maintenance_fee',dest_container=acco) 130 #pin = str(ds.get('acco_main_sc_pin')) 131 #pp = context.portal_pins 132 #acco = getattr(student,acco_id) 133 set_trace() 134 d = {} 135 d['acco_maint_sc_pin'] = ds.get('acco_maint_sc_pin') 136 d['acco_maint_date'] = current 137 info['acco_doc'].edit(mapping=d) 138 wftool.doActionFor(info['acco'],'pay_maintenance_fee') 136 139 return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % student.absolute_url()) 137 140
Note: See TracChangeset for help on using the changeset viewer.