Changeset 1682 for WAeUP_SRP/trunk/skins
- Timestamp:
- 11 Apr 2007, 15:33:30 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/ti_188_resolve.py
r1681 r1682 56 56 if erg and erg[0].Level: 57 57 level_res = erg[0].Level 58 everdict = erg[0].Verdict58 #everdict = erg[0].Verdict 59 59 level_cc = context.getLevelFromResultsCosCode(erg) 60 60 #if level_cc == 0: 61 61 #lc = "-" 62 62 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',) 65 70 continue 71 66 72 dict = context.getFormattedStudentEntry(sbrain) 67 dict['level_res'] = lc 73 dict['level_res'] = lc 68 74 count += 1 69 75 dict['count'] = count … … 83 89 study_course = getObject(student,'study_course') 84 90 level = getObject(study_course,sbrain.level) 85 if level is not None: 91 if level is not None: 86 92 cr_count += 1 87 93 if dict['review_state'] == "school_fee_paid": 88 94 code = 'nok_cr' 89 comment = "%(level)s deleted" % dict 95 comment = "%(level)s deleted" % dict 90 96 ##study_course.manage_delObjects((sbrain.level,)) 91 97 elif dict['review_state'] != "school_fee_paid":
Note: See TracChangeset for help on using the changeset viewer.