Changeset 15671
- Timestamp:
- 13 Oct 2019, 20:59:15 (5 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py
r15345 r15671 113 113 self.browser.contents) 114 114 self.assertTrue( 115 'item_name="Acceptance" item_amt="1159500" bank_id=" 51" acct_num="5210039869"' in115 'item_name="Acceptance" item_amt="1159500" bank_id="121" acct_num="0072223654"' in 116 116 self.browser.contents) 117 117 -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/tests/test_export.py
r15400 r15671 59 59 'marit_stat,matric_number,middlename,nationality,' 60 60 'next_kin_address,next_kin_name,next_kin_phone,next_kin_relation,' 61 'nysc_lga,nysc_location,nysc_year,officer_comment, '61 'nysc_lga,nysc_location,nysc_year,officer_comment,parents_email,' 62 62 'perm_address,personal_updated,phone,' 63 63 'physical_clearance_date,provisionally_cleared,reg_number,' … … 68 68 '"[(\'printing_craft_practice\', \'A1\')]",my clr code,1981-02-04#,,,' 69 69 'anna@sample.com,,,,,,,,,,,,,Anna,,,,,,"[(\'printing_craft_practice\', \'A1\')]"' 70 ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,, '70 ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,,' 71 71 '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,,,123,,,,,' 72 72 '"[(\'printing_craft_practice\', \'A1\')]",,f,A111111,0,,,created,' … … 103 103 result = open(self.outfile, 'rb').read() 104 104 self.assertMatches( 105 'ac,amount_auth,creation_date,gateway_amt,p_category,p_c urrent,'105 'ac,amount_auth,creation_date,gateway_amt,p_category,p_combi,p_current,' 106 106 'p_id,p_item,p_level,p_session,p_state,payment_date,provider_amt,' 107 107 'r_amount_approved,r_card_num,r_code,r_company,r_desc,' 108 108 'r_pay_reference,thirdparty_amt,student_id,state,' 109 109 'current_session\r\n' 110 '666,12.12,%s-04-01 13:12:01#,,schoolfee, 1,my-id,p-item,'110 '666,12.12,%s-04-01 13:12:01#,,schoolfee,[],1,my-id,p-item,' 111 111 '100,%s,paid,%s-04-01 14:12:01#,,12.12,' 112 112 '789,r-code,interswatch,,,,A111111,created,2012\r\n' -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py
r15372 r15671 101 101 102 102 def setPaymentDetails(self, category, student, 103 previous_session=None, previous_level=None ):103 previous_session=None, previous_level=None, p_combi=[]): 104 104 """Create a payment ticket and set the payment data of a 105 105 student for the payment category specified.
Note: See TracChangeset for help on using the changeset viewer.