Changeset 5792 for WAeUP_SRP/trunk/skins/waeup_fceokene
- Timestamp:
- 3 Mar 2011, 13:54:24 (14 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_fceokene
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_fceokene/accommodation_record_slip.pt
r5786 r5792 33 33 <span class="dlabel">Bed</span>: 34 34 </td> 35 <td >35 <td tal:condition="python:info_acco['Booking Status']=='maintenance_fee_paid'"> 36 36 <span tal:content="python:context.getFormattedBed(info_acco['Bed'])"></span> 37 </td> 38 <td tal:condition="python:info_acco['Booking Status']!='maintenance_fee_paid'"> 39 <em>visible after payment</em> 37 40 </td> 38 41 </tr> … … 70 73 </td> 71 74 </tr> 72 75 73 76 <tr> 74 77 <td width="180px" valign="top"> -
WAeUP_SRP/trunk/skins/waeup_fceokene/book_accommodation.py
r5781 r5792 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.