Changeset 16333


Ignore:
Timestamp:
24 Nov 2020, 10:45:54 (4 years ago)
Author:
Henrik Bettermann
Message:

Fix exporter.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
3 edited

Legend:

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

    r16329 r16333  
    653653            if name in [
    654654                'student_id','matric_number', 'reg_number',
    655                 'firstname', 'middlename', 'lastname',
     655                'firstname', 'middlename', 'lastname','sex',
    656656                'state', 'current_session',
    657657                'entry_session', 'entry_mode',
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r16329 r16333  
    42434243            '666,12.12,2012-12-13 00:00:00#,schoolfee,[],1,my-id,p-item,100,%s,'
    42444244            'paid,2012-12-13 00:00:00#,12.12,r-code,,K1000000,234,123,Anna,,'
    4245             'Tester,,created,2004,2004,,fac1,dep1,CERT1'
     4245            'Tester,m,created,2004,2004,,fac1,dep1,CERT1'
    42464246            %(curr_year-6) in self.browser.contents)
    42474247        self.assertEqual(len(self.app['datacenter'].running_exports), 1)
     
    42904290            '666,12.12,2012-12-13 00:00:00#,schoolfee,[],1,my-id,p-item,100,%s,'
    42914291            'paid,2012-12-13 00:00:00#,12.12,r-code,,K1000000,234,123,Anna,,'
    4292             'Tester,,created,2004,2004,,fac1,dep1,CERT1'
     4292            'Tester,m,created,2004,2004,,fac1,dep1,CERT1'
    42934293            %(curr_year-6) in self.browser.contents)
    42944294
     
    46494649            '666,12.12,2012-12-13 00:00:00#,schoolfee,[],1,my-id,p-item,100,%s,'
    46504650            'paid,2012-12-13 00:00:00#,12.12,r-code,,K1000000,234,123,Anna,,'
    4651             'Tester,,created,2004,2004,,fac1,dep1,CERT1'
     4651            'Tester,m,created,2004,2004,,fac1,dep1,CERT1'
    46524652            %(curr_year-6) in self.browser.contents)
    46534653        # ... and discarded
     
    46764676            '666,12.12,2012-12-13 00:00:00#,schoolfee,[],1,my-id,p-item,100,%s,'
    46774677            'paid,2012-12-13 00:00:00#,12.12,r-code,,K1000000,234,123,Anna,,'
    4678             'Tester,,created,2004,2004,,fac1,dep1,CERT1'
     4678            'Tester,m,created,2004,2004,,fac1,dep1,CERT1'
    46794679            %(curr_year-6) in self.browser.contents)
    46804680
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py

    r16329 r16333  
    12011201            '666,12.12,%s-04-01 13:12:01#,schoolfee,[],1,my-id,p-item,100,%s,'
    12021202            'paid,%s-04-01 14:12:01#,12.12,r-code,,A111111,234,123,'
    1203             'Anna,M.,Tester,,created,2012,2010,ug_ft,NA,NA,CERT1\r\n'
     1203            'Anna,M.,Tester,f,created,2012,2010,ug_ft,NA,NA,CERT1\r\n'
    12041204            % (curr_year-6, curr_year-6, curr_year-6)
    12051205            )
     
    12591259            'abc,12.12,%s-04-01 13:12:01#,bed_allocation,[],1,id1,xyz,100,%s,'
    12601260            'paid,%s-04-01 14:12:01#,12.12,cde,,A111111,234,123,'
    1261             'Anna,M.,Tester,,created,2012,2010,ug_ft,NA,NA,CERT1\r\n'
     1261            'Anna,M.,Tester,f,created,2012,2010,ug_ft,NA,NA,CERT1\r\n'
    12621262            'abc,12.12,%s-04-01 13:12:01#,hostel_maintenance,[],1,id2,xyz,100,%s,'
    12631263            'paid,%s-04-01 14:12:01#,12.12,cde,,A111111,234,123,'
    1264             'Anna,M.,Tester,,created,2012,2010,ug_ft,NA,NA,CERT1\r\n'
     1264            'Anna,M.,Tester,f,created,2012,2010,ug_ft,NA,NA,CERT1\r\n'
    12651265            % (curr_year-6, curr_year-6, curr_year-6,
    12661266               curr_year-6, curr_year-6, curr_year-6)
Note: See TracChangeset for help on using the changeset viewer.