Ignore:
Timestamp:
4 Dec 2007, 16:28:13 (17 years ago)
Author:
joachim
Message:
 
Location:
WAeUP_SRP/fceokene/waeup_custom
Files:
1 added
2 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":
  • WAeUP_SRP/fceokene/waeup_custom/layout_student_acco_view_slip.pt

    r2829 r2857  
    66              widgets python:context.getRenderedWidgets(layout);
    77              fields python:('bed',
    8 
    9                                  'acco_res_date',
    10                                  'acco_maint_sc_pin',
     8                              'acco_res_date',
     9                                 'acco_maint_pay_id',
    1110                                 'acco_maint_date',
    1211                                 )"
Note: See TracChangeset for help on using the changeset viewer.