Ignore:
Timestamp:
4 Dec 2007, 16:28:13 (17 years ago)
Author:
joachim
Message:
 
File:
1 edited

Legend:

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

    r2829 r2857  
    5656students_object = context.portal_url.getPortalObject().campus.students
    5757student = getattr(students_object, student_id)
    58 info['id'] = student_id
     58info['student_id'] = student_id
    5959info['student'] = student
    6060
     
    7070
    7171info['booking_allowed'] = booking_allowed
     72info['online_payment'] = True  # for Okene
    7273if not booking_allowed:
    7374    info['acco'] = None
     
    7980
    8081bt = 're'
     82info['maintenance_paid'] = False
    8183if acco is not None:
    8284    info['acco_doc'] = acco.getContent()
    8385    info['acco_review_state'] = wf.getInfoFor(acco,'review_state',None)
     86    info['maintenance_paid'] = info['acco_review_state'] == "maintenance_fee_paid"
    8487d = {}
    8588if review_state == "cleared_and_validated":
Note: See TracChangeset for help on using the changeset viewer.