Changeset 16329
- Timestamp:
- 21 Nov 2020, 14:59:17 (4 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r16302 r16329 2217 2217 return 2218 2218 2219 #@action(_('Add online payment ticket'))2220 #def addPaymentTicket(self, **data):2221 # self.redirect(self.url(self.context, '@@addop'))2222 2223 2219 class OnlinePaymentAddFormPage(KofaAddFormPage): 2224 2220 """ Page to add an online payment ticket -
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r16186 r16329 640 640 omit=['display_item', 'certificate', 'student']))) + ( 641 641 'student_id','matric_number','reg_number', 642 'firstname', 'middlename', 'lastname', 642 'firstname', 'middlename', 'lastname','sex', 643 643 'state','current_session', 644 644 'entry_session', 'entry_mode', -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r16303 r16329 4243 4243 '666,12.12,2012-12-13 00:00:00#,schoolfee,[],1,my-id,p-item,100,%s,' 4244 4244 'paid,2012-12-13 00:00:00#,12.12,r-code,,K1000000,234,123,Anna,,' 4245 'Tester, created,2004,2004,,fac1,dep1,CERT1'4245 'Tester,,created,2004,2004,,fac1,dep1,CERT1' 4246 4246 %(curr_year-6) in self.browser.contents) 4247 4247 self.assertEqual(len(self.app['datacenter'].running_exports), 1) … … 4290 4290 '666,12.12,2012-12-13 00:00:00#,schoolfee,[],1,my-id,p-item,100,%s,' 4291 4291 'paid,2012-12-13 00:00:00#,12.12,r-code,,K1000000,234,123,Anna,,' 4292 'Tester, created,2004,2004,,fac1,dep1,CERT1'4292 'Tester,,created,2004,2004,,fac1,dep1,CERT1' 4293 4293 %(curr_year-6) in self.browser.contents) 4294 4294 … … 4649 4649 '666,12.12,2012-12-13 00:00:00#,schoolfee,[],1,my-id,p-item,100,%s,' 4650 4650 'paid,2012-12-13 00:00:00#,12.12,r-code,,K1000000,234,123,Anna,,' 4651 'Tester, created,2004,2004,,fac1,dep1,CERT1'4651 'Tester,,created,2004,2004,,fac1,dep1,CERT1' 4652 4652 %(curr_year-6) in self.browser.contents) 4653 4653 # ... and discarded … … 4676 4676 '666,12.12,2012-12-13 00:00:00#,schoolfee,[],1,my-id,p-item,100,%s,' 4677 4677 'paid,2012-12-13 00:00:00#,12.12,r-code,,K1000000,234,123,Anna,,' 4678 'Tester, created,2004,2004,,fac1,dep1,CERT1'4678 'Tester,,created,2004,2004,,fac1,dep1,CERT1' 4679 4679 %(curr_year-6) in self.browser.contents) 4680 4680 -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
r16186 r16329 1197 1197 'p_level,p_session,p_state,payment_date,r_amount_approved,r_code,' 1198 1198 'r_desc,student_id,matric_number,reg_number,firstname,middlename,lastname,' 1199 's tate,current_session,entry_session,entry_mode,faccode,depcode,certcode\r\n'1199 'sex,state,current_session,entry_session,entry_mode,faccode,depcode,certcode\r\n' 1200 1200 1201 1201 '666,12.12,%s-04-01 13:12:01#,schoolfee,[],1,my-id,p-item,100,%s,' 1202 1202 'paid,%s-04-01 14:12:01#,12.12,r-code,,A111111,234,123,' 1203 'Anna,M.,Tester, created,2012,2010,ug_ft,NA,NA,CERT1\r\n'1203 'Anna,M.,Tester,,created,2012,2010,ug_ft,NA,NA,CERT1\r\n' 1204 1204 % (curr_year-6, curr_year-6, curr_year-6) 1205 1205 ) … … 1255 1255 'ac,amount_auth,creation_date,p_category,p_combi,p_current,p_id,p_item,' 1256 1256 'p_level,p_session,p_state,payment_date,r_amount_approved,r_code,' 1257 'r_desc,student_id,matric_number,reg_number,firstname,middlename,lastname, '1257 'r_desc,student_id,matric_number,reg_number,firstname,middlename,lastname,sex,' 1258 1258 'state,current_session,entry_session,entry_mode,faccode,depcode,certcode\r\n' 1259 1259 'abc,12.12,%s-04-01 13:12:01#,bed_allocation,[],1,id1,xyz,100,%s,' 1260 1260 'paid,%s-04-01 14:12:01#,12.12,cde,,A111111,234,123,' 1261 'Anna,M.,Tester, created,2012,2010,ug_ft,NA,NA,CERT1\r\n'1261 'Anna,M.,Tester,,created,2012,2010,ug_ft,NA,NA,CERT1\r\n' 1262 1262 'abc,12.12,%s-04-01 13:12:01#,hostel_maintenance,[],1,id2,xyz,100,%s,' 1263 1263 'paid,%s-04-01 14:12:01#,12.12,cde,,A111111,234,123,' 1264 'Anna,M.,Tester, created,2012,2010,ug_ft,NA,NA,CERT1\r\n'1264 'Anna,M.,Tester,,created,2012,2010,ug_ft,NA,NA,CERT1\r\n' 1265 1265 % (curr_year-6, curr_year-6, curr_year-6, 1266 1266 curr_year-6, curr_year-6, curr_year-6)
Note: See TracChangeset for help on using the changeset viewer.