Changeset 13640 for main/waeup.kofa/trunk
- Timestamp:
- 20 Jan 2016, 13:44:11 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r13639 r13640 363 363 IStudentOnlinePayment, exclude_attribs=False, 364 364 omit=['display_item']))) + ( 365 'student_id','state','current_session' )365 'student_id','state','current_session', 'reg_number') 366 366 title = _(u'Student Payments') 367 367 -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
r13639 r13640 746 746 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 747 747 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 748 'r_code,r_desc,student_id,state,current_session \r\n'749 750 ',0.0,2012-04-01 13:12:01#,,1,,,,,unpaid,,0.0,,,,, \r\n'748 'r_code,r_desc,student_id,state,current_session,reg_number\r\n' 749 750 ',0.0,2012-04-01 13:12:01#,,1,,,,,unpaid,,0.0,,,,,,\r\n' 751 751 ) 752 752 return … … 764 764 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 765 765 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 766 'r_code,r_desc,student_id,state,current_session \r\n'766 'r_code,r_desc,student_id,state,current_session,reg_number\r\n' 767 767 768 768 '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,' 769 769 'p-item,100,2012,paid,2012-04-01 14:12:01#,12.12,' 770 'r-code,,A111111,created,2012 \r\n'770 'r-code,,A111111,created,2012,\r\n' 771 771 ) 772 772 return … … 783 783 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 784 784 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 785 'r_code,r_desc,student_id,state,current_session \r\n'785 'r_code,r_desc,student_id,state,current_session,reg_number\r\n' 786 786 787 787 '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,' 788 788 'p-item,100,2012,paid,2012-04-01 14:12:01#,12.12,' 789 'r-code,,A111111,created,2012 \r\n'789 'r-code,,A111111,created,2012,\r\n' 790 790 ) 791 791 return … … 802 802 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 803 803 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 804 'r_code,r_desc,student_id,state,current_session \r\n'804 'r_code,r_desc,student_id,state,current_session,reg_number\r\n' 805 805 806 806 '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,' 807 807 'p-item,100,2012,paid,2012-04-01 14:12:01#,12.12,' 808 'r-code,,A111111,created,2012 \r\n'808 'r-code,,A111111,created,2012,\r\n' 809 809 ) 810 810 return … … 824 824 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 825 825 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 826 'r_code,r_desc,student_id,state,current_session \r\n'826 'r_code,r_desc,student_id,state,current_session,reg_number\r\n' 827 827 828 828 '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,' 829 829 'p-item,100,2012,paid,2012-04-01 14:12:01#,12.12,' 830 'r-code,,A111111,created,2012 \r\n'830 'r-code,,A111111,created,2012,\r\n' 831 831 ) 832 832 return … … 860 860 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 861 861 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 862 'r_code,r_desc,student_id,state,current_session \r\n'862 'r_code,r_desc,student_id,state,current_session,reg_number\r\n' 863 863 864 864 '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,' 865 865 'p-item,100,2012,paid,2012-04-01 14:12:01#,12.12,' 866 'r-code,,A111111,created,2012 \r\n'866 'r-code,,A111111,created,2012,\r\n' 867 867 ) 868 868 # Payment date is 2012-04-01, 14:12:01. … … 877 877 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 878 878 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 879 'r_code,r_desc,student_id,state,current_session \r\n'879 'r_code,r_desc,student_id,state,current_session,reg_number\r\n' 880 880 ) 881 881 exporter.export_filtered( … … 888 888 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 889 889 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 890 'r_code,r_desc,student_id,state,current_session \r\n'890 'r_code,r_desc,student_id,state,current_session,reg_number\r\n' 891 891 ) 892 892 # No results if payment_date is not set … … 901 901 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 902 902 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 903 'r_code,r_desc,student_id,state,current_session \r\n'903 'r_code,r_desc,student_id,state,current_session,reg_number\r\n' 904 904 ) 905 905 return … … 926 926 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 927 927 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 928 'r_code,r_desc,student_id,state,current_session \r\n'928 'r_code,r_desc,student_id,state,current_session,reg_number\r\n' 929 929 ) 930 930 # Make ticket unpaid … … 936 936 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 937 937 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 938 'r_code,r_desc,student_id,state,current_session \r\n'938 'r_code,r_desc,student_id,state,current_session,reg_number\r\n' 939 939 940 940 '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,' 941 941 'p-item,100,2012,unpaid,2012-04-01 14:12:01#,12.12,' 942 'r-code,,A111111,created,2012 \r\n'942 'r-code,,A111111,created,2012,\r\n' 943 943 ) 944 944 return
Note: See TracChangeset for help on using the changeset viewer.