Changeset 2903 for WAeUP_SRP/uniben


Ignore:
Timestamp:
10 Dec 2007, 09:03:24 (17 years ago)
Author:
Henrik Bettermann
Message:

fixed for Uniben

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/uniben/waeup_custom/getAccommodationInfo.py

    r2849 r2903  
    6969students_object = context.portal_url.getPortalObject().campus.students
    7070student = getattr(students_object, student_id)
    71 info['id'] = student_id
     71info['student_id'] = student_id
    7272info['student'] = student
    7373
     
    8181                                                 "B",)
    8282
    83 booking_allowed = False # booking temporarily disabled
    84                         # the algorithm must be adapted to new course_results catalog
    85                         # and/or FCEOkene modalities
    86 
     83#booking_allowed = False
    8784
    8885info['booking_allowed'] = booking_allowed
     
    9693info['acco_id'] = acco_id
    9794bt = 're'
     95info['maintenance_paid'] = False
    9896if acco is not None:
    9997    info['acco_doc'] = acco.getContent()
    10098    info['acco_review_state'] = wf.getInfoFor(acco,'review_state',None)
     99    info['maintenance_paid'] = info['acco_review_state'] == "maintenance_fee_paid"   
     100   
     101   
    101102d = {}
    102103if review_state == "cleared_and_validated":
Note: See TracChangeset for help on using the changeset viewer.