Changeset 5791 for WAeUP_SRP/trunk/skins
- Timestamp:
- 3 Mar 2011, 13:53:34 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/book_accommodation.py
r5616 r5791 70 70 ) 71 71 elif psm == 'valid': 72 pin = str(ds.get('acco_res_sc_pin'))73 72 code,bed = context.portal_accommodation.searchAndReserveBed(student_id, 74 73 "%s" % (info['student_status']), … … 95 94 hall_info = context.waeup_tool.getHallInfo(bed) 96 95 data={} 97 data['acco_res_sc_pin'] = ds['acco_res_sc_pin']96 data['acco_res_sc_pin'] = str(ds.get('acco_res_sc_pin','')) 98 97 data['acco_maint_code'] = hall_info.get('maintenance_code') 99 98 data['acco_maint_fee'] = hall_info.get('maintenance_fee')
Note: See TracChangeset for help on using the changeset viewer.