Ignore:
Timestamp:
2 Jun 2007, 06:14:30 (17 years ago)
Author:
Henrik Bettermann
Message:

show also course code (in custom)

File:
1 edited

Legend:

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

    r1842 r1843  
    6363            continue
    6464        pume_obj = getObject(student_obj,'pume')
     65        study_course_obj = getObject(student_obj,'study_course')
    6566        if pume_obj is None:
    6667            rwrite('%s with jamb_reg_no %s %s/%s/%s pume object not found' % (des.id,
     
    7172                                                                            ))
    7273            continue
     74           
     75        dict = {}
     76           
    7377        pume_doc = pume_obj.getContent()
     78        if study_course_obj:
     79            study_course_doc = study_course_obj.getContent()
     80            course_code = study_course_doc.study_course
     81            dict['course'] = course_code
     82            dict['course_code_org'] = course_code
     83           
    7484        score = pume_doc.pume_tot_score
    75         dict = {}
     85
    7686        dict['student_id'] = des.id
    7787        dict['jamb_reg_no'] = des.jamb_reg_no
Note: See TracChangeset for help on using the changeset viewer.