Ignore:
Timestamp:
10 May 2007, 04:41:04 (17 years ago)
Author:
Henrik Bettermann
Message:

at the moment getSessionId returns the year not the Id so that getNextSessionId and pay_by_sc did not work properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py

    r1758 r1764  
    9292    payment.getContent().edit(mapping=info)
    9393    wftool.doActionFor(payment,'close')
    94     if next_session == context.getSessionId():
     94    if next_session == context.getSessionId()[2:]:
    9595        wftool.doActionFor(student,'pay_school_fee')
    9696    else:
    9797        study_course = getattr(student,'study_course')
    98         wftool.doActionFor(study_course,'open')
     98        #wftool.doActionFor(study_course,'open')
    9999        study_course_doc = study_course.getContent()
    100100        next_level = "%s" % (int(s_brain.level) + 100)
Note: See TracChangeset for help on using the changeset viewer.