Ignore:
Timestamp:
15 Nov 2007, 14:35:05 (17 years ago)
Author:
Henrik Bettermann
Message:

fix course registration for returning students

Location:
WAeUP_SRP/base/skins/waeup_epayment
Files:
2 edited

Legend:

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

    r2619 r2664  
    125125        wftool.doActionFor(student,next_transition)
    126126
    127     #if next_session == context.getSessionId()[-2:]:
    128     #    wftool.doActionFor(student,'pay_school_fee')
    129     #else:
    130     #    study_course = getattr(student,'study_course')
    131     #    #wftool.doActionFor(study_course,'open')
    132     #    study_course_doc = study_course.getContent()
    133     #    next_level = "%s" % (int(s_brain.level) + 100)
    134     #    study_course_doc.edit(mapping= {'current_level': next_level,
    135     #                                    'current_session': next_session,})
    136 
    137127    logger.info('%s paid school fee by scratch card' % student_id)
    138128else:
  • WAeUP_SRP/base/skins/waeup_epayment/pay_interswitch.py

    r2619 r2664  
    4444fee_dict = context.getSchoolFee(sbrain)
    4545fulltime = sbrain.mode.endswith('_ft')
    46 #new =  sbrain.entry_session == context.getSessionId()[-2:]
    4746new = sbrain.review_state == 'cleared_and_validated'
    4847returning = sbrain.review_state == 'returning'
Note: See TracChangeset for help on using the changeset viewer.