Ignore:
Timestamp:
29 Oct 2007, 18:46:43 (17 years ago)
Author:
Henrik Bettermann
Message:

moves current_verdict to cprevious_verdict after session change
fix06Verdict: moves current_verdict to cprevious_verdict for all students in session 06

File:
1 edited

Legend:

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

    r2459 r2475  
    4343next_level_id = next_info['next_level_id']
    4444next_transition = next_info['next_transition']
     45next_verdict = next_info['next_verdict']
    4546
    4647validate = request.has_key("cpsdocument_create_button")
     
    115116        wftool.doActionFor(study_course,'open')
    116117    except:
    117         pass   
     118        pass
     119    verdict = s_brain.verdict   
    118120    study_course.getContent().edit(mapping= {'current_level': next_level_id,
    119                                              'current_session': next_session_id,})
     121                                             'current_session': next_session_id,
     122                                             'current_verdict': next_verdict,
     123                                             'previous_verdict': verdict,
     124                                             })
    120125    if next_transition:
    121126        wftool.doActionFor(student,next_transition)
Note: See TracChangeset for help on using the changeset viewer.