Changeset 1241


Ignore:
Timestamp:
8 Jan 2007, 17:18:34 (18 years ago)
Author:
joachim
Message:

make payments folder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py

    r1233 r1241  
    5353            context.waeup_tool.makeStudentData(str(member))
    5454        student_app = getattr(student,'application',None)
     55        if 'payments' not in student.objectIds():
     56            student.invokeFactory('PaymentsFolder','payments')
     57            payments = getattr(student,'payments')
     58            d = {}
     59            d['Title'] = 'Online Payments'
     60            payments.getContent().edit(mapping=d)
     61            wftool.doActionFor(payments,'open')
    5562        student_pume = getattr(student,'pume',None)
    5663        s_review_state = wftool.getInfoFor(student,'review_state',None)
Note: See TracChangeset for help on using the changeset viewer.