Changeset 1682


Ignore:
Timestamp:
11 Apr 2007, 15:33:30 (18 years ago)
Author:
Henrik Bettermann
Message:

wrong verdict fixed

File:
1 edited

Legend:

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

    r1681 r1682  
    5656    if erg and erg[0].Level:
    5757        level_res = erg[0].Level
    58         everdict = erg[0].Verdict
     58        #everdict = erg[0].Verdict
    5959        level_cc = context.getLevelFromResultsCosCode(erg)
    6060        #if level_cc == 0:
    6161            #lc = "-"
    6262        lc = "%s00" % level_cc
    63         verdict,elegible = context.getVerdict(everdict)
    64         if elegible:
     63
     64        #verdict,elegible = context.getVerdict(everdict)
     65        #if elegible:
     66        #    continue
     67       
     68        verdict =  sbrain.verdict       
     69        if verdict in ('A','B',)
    6570            continue
     71       
    6672        dict = context.getFormattedStudentEntry(sbrain)
    67         dict['level_res'] = lc 
     73        dict['level_res'] = lc
    6874        count += 1
    6975        dict['count'] = count
     
    8389            study_course = getObject(student,'study_course')
    8490            level = getObject(study_course,sbrain.level)
    85             if level is not None: 
     91            if level is not None:
    8692                cr_count += 1
    8793                if dict['review_state'] == "school_fee_paid":
    8894                    code = 'nok_cr'
    89                     comment = "%(level)s deleted" % dict 
     95                    comment = "%(level)s deleted" % dict
    9096                    ##study_course.manage_delObjects((sbrain.level,))
    9197                elif dict['review_state'] != "school_fee_paid":
Note: See TracChangeset for help on using the changeset viewer.