Ignore:
Timestamp:
28 Sep 2012, 10:09:41 (12 years ago)
Author:
Henrik Bettermann
Message:

Consider the new export fields also in kofacustom.nigeria.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/export.py

    r9044 r9254  
    3131    fields = tuple(sorted(iface_names(
    3232        INigeriaStudent, omit=['loggerInfo']))) + (
    33         'password', 'state', 'history', 'certcode')
     33        'password', 'state', 'history', 'certcode', 'is_postgrad',
     34        'current_level', 'current_session')
    3435
    3536    def mangle_value(self, value, name, context=None):
     
    5657    fields = tuple(sorted(iface_names(INigeriaCourseTicket) +
    5758        ['level', 'code', 'title', 'credits',
    58         'passmark', 'semester', 'fcode', 'dcode'])) + ('student_id',)
     59        'passmark', 'semester', 'fcode', 'dcode'])) + (
     60        'student_id', 'number_of_tickets','certcode')
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py

    r9046 r9254  
    5858            'nysc_year,perm_address,phone,reg_number,religion,scd_sit_date,'
    5959            'scd_sit_fname,scd_sit_no,scd_sit_results,scd_sit_type,sex,'
    60             'student_id,suspended,password,state,history,certcode\r\n'
     60            'student_id,suspended,password,state,history,certcode,'
     61            'is_postgrad,current_level,current_session\r\n'
    6162
    6263            'my adm code,,,,"[(\'visual_art\', \'A1\')]",0,my clr code,'
Note: See TracChangeset for help on using the changeset viewer.