Ignore:
Timestamp:
10 Nov 2006, 15:26:31 (18 years ago)
Author:
joachim
Message:

reenabled waeup_tool,
reserve accommodation fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/reserve_accommodation.py

    r821 r828  
    7373        student.invokeFactory('StudentAccommodation',acco_id)
    7474        acco = getattr(student,acco_id)
     75        acco_info = context.waeup_tool.getAccommodationInfo(bed)
     76        ds.set('acco_maint_code', acco_info.get('maintenance_code'))
     77        ds.set('acco_maint_fee', acco_info.get('maintenance_fee'))
    7578        ds.set('acco_res_date', current)
    7679        ds.set('bed', bed)
     
    8689wftool.doActionFor(acco,'pay_maintenance_fee',dest_container=acco)
    8790return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % student.absolute_url())
    88 
    89 
Note: See TracChangeset for help on using the changeset viewer.