Changeset 11702
- Timestamp:
- 19 Jun 2014, 14:53:28 (11 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r11701 r11702 4 4 1.3dev (unreleased) 5 5 =================== 6 7 * certcode and reg_number added to DataForBursaryExporter. 6 8 7 9 * Some batch processor names corrected. -
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r11662 r11702 343 343 IStudentOnlinePayment, exclude_attribs=False, 344 344 omit=['display_item']))) + ( 345 'student_id','matric_number', 345 'student_id','matric_number','reg_number', 346 346 'firstname', 'middlename', 'lastname', 347 347 'state','current_session', 348 348 'entry_session', 'entry_mode', 349 'faccode', 'depcode' )349 'faccode', 'depcode','certcode') 350 350 351 351 #: The title under which this exporter will be displayed … … 358 358 student = context.student 359 359 if name in [ 360 'student_id','matric_number', 360 'student_id','matric_number', 'reg_number', 361 361 'firstname', 'middlename', 'lastname', 362 'state', 'current_session',362 'state', 'current_session', 363 363 'entry_session', 'entry_mode', 364 'faccode', 'depcode' ] and student is not None:364 'faccode', 'depcode', 'certcode'] and student is not None: 365 365 value = getattr(student, name, None) 366 366 return super( -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
r11661 r11702 781 781 'ac,amount_auth,creation_date,p_category,p_current,p_id,p_item,' 782 782 'p_level,p_session,p_state,payment_date,r_amount_approved,r_code,' 783 'r_desc,student_id,matric_number, firstname,middlename,lastname,'784 'state,current_session,entry_session,entry_mode,faccode,depcode \r\n'783 'r_desc,student_id,matric_number,reg_number,firstname,middlename,lastname,' 784 'state,current_session,entry_session,entry_mode,faccode,depcode,certcode\r\n' 785 785 786 786 '666,12.12,2012-04-01 13:12:01,schoolfee,1,my-id,p-item,100,2012,' 787 'paid,2012-04-01 14:12:01,12.12,r-code,,A111111,234, '788 'Anna,M.,Tester,created,2012,2010,ug_ft,NA,NA \r\n'787 'paid,2012-04-01 14:12:01,12.12,r-code,,A111111,234,123,' 788 'Anna,M.,Tester,created,2012,2010,ug_ft,NA,NA,CERT1\r\n' 789 789 ) 790 790 return
Note: See TracChangeset for help on using the changeset viewer.