Ignore:
Timestamp:
4 Jan 2015, 06:04:25 (10 years ago)
Author:
Henrik Bettermann
Message:

Export email address and phone number.

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

Legend:

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

    r12120 r12392  
    9595
    9696    fields = ('student_id', 'reg_number', 'display_fullname',
    97               'state', 'current_session', 'history', 'physical_clearance_date')
     97              'state', 'current_session', 'history', 'physical_clearance_date',
     98              'email','phone')
    9899
    99100    title = _(u'Clearance Invitation Data')
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/interfaces.py

    r12120 r12392  
    6868        )
    6969
    70     physical_clearance_date= schema.TextLine(
     70    physical_clearance_date = schema.TextLine(
    7171        title = _(u"Physical Clearance Date"),
    7272        required = False,
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py

    r12120 r12392  
    157157        self.assertMatches(
    158158            'student_id,reg_number,display_fullname,state,current_session,'
    159             'history,physical_clearance_date\r\n'
     159            'history,physical_clearance_date,email,phone\r\n'
    160160            'A111111,123,Anna M. Tester,clearance requested,'
    161161            '2012,2014-12-02 07:17:02 WAT - Record created by system,'
    162             'Come soon\r\n',
     162            'Come soon,anna@sample.com,+234-123-12345\r\n',
    163163            result
    164164            )
Note: See TracChangeset for help on using the changeset viewer.