Ignore:
Timestamp:
9 Jul 2012, 06:59:43 (12 years ago)
Author:
Henrik Bettermann
Message:

Add has to exported phone numbers to avoid confusion with negative numbers.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/batchprocessing.txt

    r8472 r8947  
    9797    'Course Processor', 'CourseTicket Processor',
    9898    'Department Processor', 'Faculty Processor',
    99     'Payment Processor', 'Student Processor',
     99    'Student Payment Processor', 'Student Processor',
    100100    'StudentStudyCourse Processor (update only)',
    101101    'StudentStudyLevel Processor', 'Verdict Processor (update only)']
  • main/waeup.kofa/trunk/src/waeup/kofa/students/export.py

    r8736 r8947  
    113113        if name == 'history':
    114114            value = value.messages
     115        if name == 'phone':
     116            # Append hash '#' to dates to circumvent unwanted excel automatic
     117            value = str('%s#' % value)
    115118        return super(
    116119            StudentsExporter, self).mangle_value(
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py

    r8820 r8947  
    4949            'my adm code,0,my clr code,1981-02-04#,anna@sample.com,,'
    5050            'Anna,Tester,M123456,M.,NG,"Studentroad 21\nLagos 123456\n",'
    51             '+234-123-12345,123456,f,A111111,,created'
     51            '+234-123-12345#,123456,f,A111111,,created'
    5252            in result
    5353            )
     
    6969            'my adm code,0,my clr code,1981-02-04#,anna@sample.com,,'
    7070            'Anna,Tester,M123456,M.,NG,"Studentroad 21\nLagos 123456\n",'
    71             '+234-123-12345,123456,f,A111111,,created'
     71            '+234-123-12345#,123456,f,A111111,,created'
    7272            in result
    7373            )
     
    8888            'my adm code,0,my clr code,1981-02-04#,anna@sample.com,,'
    8989            'Anna,Tester,M123456,M.,NG,"Studentroad 21\nLagos 123456\n",'
    90             '+234-123-12345,123456,f,A111111,,created'
     90            '+234-123-12345#,123456,f,A111111,,created'
    9191            in result
    9292            )
Note: See TracChangeset for help on using the changeset viewer.