Ignore:
Timestamp:
28 May 2013, 09:11:56 (11 years ago)
Author:
Henrik Bettermann
Message:

Add more columns to bursary export file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/export.py

    r10233 r10236  
    324324            IStudentOnlinePayment, exclude_attribs=False,
    325325            omit=['display_item']))) + (
    326             'student_id','matric_number','state','current_session',
    327             'faccode', 'depcode', 'display_fullname')
     326            'student_id','matric_number',
     327            'firstname', 'middlename', 'lastname',
     328            'state','current_session',
     329            'entry_session', 'entry_mode',
     330            'faccode', 'depcode')
    328331
    329332    #: The title under which this exporter will be displayed
     
    335338        if context is not None:
    336339            student = context.student
    337             if name in ['student_id','matric_number',
    338                         'state','current_session',
    339                         'faccode','depcode',
    340                         'display_fullname'] and student is not None:
     340            if name in [
     341                'student_id','matric_number',
     342                'firstname', 'middlename', 'lastname',
     343                'state','current_session',
     344                'entry_session', 'entry_mode',
     345                'faccode', 'depcode'] and student is not None:
    341346                value = getattr(student, name, None)
    342347        return super(
Note: See TracChangeset for help on using the changeset viewer.