Changeset 3780 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
21 Nov 2008, 09:26:51 (16 years ago)
Author:
Henrik Bettermann
Message:
  • get study_mode from certificates and ignore study_mode attribute of study_course objects
  • customize school_fee payment for FUTMinna
Location:
WAeUP_SRP/trunk/skins
Files:
2 added
1 edited

Legend:

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

    r3778 r3780  
    6969            d['study_course'] = student.course
    7070            d['matric_no'] = student.matric_no
     71            d['entry_mode'] = student.entry_mode
    7172            wrong[student.id] = d
    7273            if (student.mode,study_mode) not in (('ume_ft', 'ug_ft'),('de_pt', 'ug_pt'),('de_ft', 'ug_ft')):
    73                 logger.info("; %(student_id)s;  %(matric_no)s ; %(study_course)s ; %(current_mode_old)s ; %(current_mode)s" % d)
     74                logger.info("; %(student_id)s;  %(matric_no)s ; %(study_course)s ; %(entry_mode)s ; %(current_mode_old)s ; %(current_mode)s" % d)
    7475    # if wrong and not (len(wrong) % commit_after):
    7576    #     logger.info('found %d wrong of %d' % (len(wrong),count))
     
    8182
    8283return
     84
     85# the following must not be done because I've changed get_from_doc_mode in WAeUPTables. The current_mode field
     86# of the study_course object is no longer used
    8387
    8488for student_id,d in wrong.items():
Note: See TracChangeset for help on using the changeset viewer.