Ignore:
Timestamp:
3 Mar 2011, 13:54:24 (14 years ago)
Author:
Henrik Bettermann
Message:

Don't show bed coordinates in Okene if bed not paid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_fceokene/book_accommodation.py

    r5781 r5792  
    7070                                 )
    7171elif psm == 'valid':
    72     pin = str(ds.get('acco_res_sc_pin'))
    7372    code,bed = context.portal_accommodation.searchAndReserveBed(student_id,
    7473                                                                "%s" % (info['student_status']),
     
    9594hall_info = context.waeup_tool.getHallInfo(bed)
    9695data={}
    97 data['acco_res_sc_pin'] = ds['acco_res_sc_pin']
     96data['acco_res_sc_pin'] = str(ds.get('acco_res_sc_pin',''))
    9897data['acco_maint_code'] = hall_info.get('maintenance_code')
    9998data['acco_maint_fee'] = hall_info.get('maintenance_fee')
Note: See TracChangeset for help on using the changeset viewer.