Ignore:
Timestamp:
27 Oct 2007, 21:53:04 (17 years ago)
Author:
Henrik Bettermann
Message:

rebuild getNextInfo.py completely
fetch session from portal properties.xml
change all scripts using getSessionId
remove StudentCourseResult? relevant code from event services
make pay_by_sc.py and interswitch_cb.py work (rebuild both)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_accommodation/getAccommodationInfo.py

    r2427 r2454  
    8080            booking_allowed = info['verdict'] in ("A",
    8181                                                 "B",)
    82                                                  
     82
    8383booking_allowed = False # booking temporarily disabled
    8484                        # the algorithm must be adapted to new course_results catalog
    8585                        # and/or FCEOkene modalities
    86                        
    87                        
    88                        
    89                        
    90                        
    91                        
    92                        
    93                                                                          
    94                                                  
     86
     87
    9588info['booking_allowed'] = booking_allowed
    9689if not booking_allowed:
    9790    info['acco'] = None
    9891    return info
    99 acco_id = 'accommodation_2006'
     92info['session'] = session = context.getSessionId() 
     93acco_id = 'accommodation_' + session[0]
    10094acco = getattr(student,acco_id,None)
    10195info['acco'] = acco
Note: See TracChangeset for help on using the changeset viewer.