Changeset 17827


Ignore:
Timestamp:
28 Jun 2024, 08:14:59 (4 months ago)
Author:
Henrik Bettermann
Message:

Adjust exporter.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py

    r17822 r17827  
    11171117        form_fields['nysc'].field.description = u''
    11181118        form_fields['nysc'].field.title = u'NYSC requested'
     1119        form_fields['nysc_senate_info'].field.description = u'Sample: Meeting Date: 10TH MAY 2023. DEG CLASS: FIRST CLASS. S/NO: 01'
    11191120        form_fields[
    11201121            'nysc_updated'].custom_widget = FriendlyDatetimeDisplayWidget('le')
  • main/waeup.uniben/trunk/src/waeup/uniben/students/export.py

    r17806 r17827  
    205205        'depcode',
    206206        'certcode',
     207        'nysc_senate_info',
     208        'nysc_date_of_graduation',
     209        'nysc_updated',
    207210        ) + year_range_tuple
    208211    title = u'NYSC Indication'
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_export.py

    r17396 r17827  
    185185            'sex,nationality,date_of_birth,state,current_mode,certcode,faccode,'
    186186            'depcode,current_level,current_session,current_verdict,'
    187             'entry_sessionfaccode,depcode,certcode,%s\r\n'
     187            'entry_sessionfaccode,depcode,certcode,'
     188            'nysc_senate_info,nysc_date_of_graduation,nysc_updated,%s\r\n'
    188189            'A111111,234,123,Anna,M.,Tester,f,NG,1981-02-04#,created,ug_ft,'
    189             'CERT1,NA,NA,200,2012,0,,NA,CERT1,,,,,,12.12,,,,,,\r\n' % year_range_str,
     190            'CERT1,NA,NA,200,2012,0,,NA,CERT1,,,,,,,,,12.12,,,,,,\r\n' % year_range_str,
    190191            result
    191192            )
Note: See TracChangeset for help on using the changeset viewer.