Ignore:
Timestamp:
1 Dec 2008, 12:21:08 (16 years ago)
Author:
Henrik Bettermann
Message:

fix accommodation payment futminna

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_utilities/changeRegState.py

    r2961 r3795  
    2929
    3030request = context.REQUEST
    31 students = context.portal_url.getPortalObject().campus.students
     31#students = context.portal_url.getPortalObject().campus.students
    3232wftool = context.portal_workflow
    3333student_id = context.getStudentId()
     34context_doc = context
    3435if student_id is None:
    3536    return context.REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
    36 
    37 student = getattr(students,student_id)
     37#student = getattr(students,student_id)
     38#context_doc = student
    3839try:
    39     wftool.doActionFor(student,transition)
     40    wftool.doActionFor(context_doc,transition)
    4041    logger.info('%s executed transition %s for %s' % (member,transition,student_id))
    4142except:
Note: See TracChangeset for help on using the changeset viewer.