Changeset 1776 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
12 May 2007, 15:30:02 (18 years ago)
Author:
joachim
Message:

make multiple schoolfee payments possible,

File:
1 edited

Legend:

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

    r1568 r1776  
    120120        res = context.students_catalog(id = str(member))
    121121        matric_no = res[0].matric_no
     122        verdict = res[0].verdict
     123        if s_review_state == "returning" and not verdict:
     124            results = context.results_import(matric_no = matric_no)
     125            if results:
     126                study_course_doc = getattr(student,'study_course').getContent()
     127                study_course_doc.edit(mapping={'verdict':results[0].Verdict})
    122128        is_imported = context.returning_import(matric_no = matric_no)
    123129        if s_review_state == "application_pin_entered":
Note: See TracChangeset for help on using the changeset viewer.