Ignore:
Timestamp:
21 Dec 2006, 16:19:39 (18 years ago)
Author:
joachim
Message:

reserve accommodation now respects special cases, change_bed moves wrong assigned students to the right bed.

File:
1 edited

Legend:

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

    r1100 r1117  
    5050                        'BARTTHR',
    5151                        )
    52 
     52pti_certificates = ('BENGIEP',
     53                    'BENGGCPP',
     54                    'BENGEEP',
     55                    'BENGGEP',
     56                    'BENGPEP',
     57                    'BENGMEP',
     58                    )
    5359s_brain = res[0]
    5460students_object = context.portal_url.getPortalObject().campus.students
     
    7177if s_brain.course in ekehuan_certificates:
    7278    bt += "_ekenhuan"
     79elif s_brain.course in pti_certificates:
     80    bt += "_pti"
     81   
    7382d['bt'] = bt
    7483#from Products.zdb import set_trace
Note: See TracChangeset for help on using the changeset viewer.