Changeset 15731 for main/kofacustom.nigeria
- Timestamp:
- 31 Oct 2019, 20:21:37 (5 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/payments/interfaces.py
r15730 r15731 26 26 27 27 """ 28 29 net_amount = Attribute('Total amount minus surcharges')30 28 31 29 ac = schema.TextLine( -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py
r15665 r15731 122 122 result = open(self.outfile, 'rb').read() 123 123 self.assertMatches( 124 'ac,amount_auth,creation_date,gateway_amt, p_category,p_combi,p_current,'124 'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_current,' 125 125 'p_id,p_item,p_level,p_session,p_split_data,p_state,payment_date,provider_amt,' 126 126 'r_amount_approved,r_card_num,r_code,r_company,r_desc,' 127 127 'r_pay_reference,thirdparty_amt,student_id,state,' 128 128 'current_session\r\n' 129 '666,12.12,2012-04-01 13:12:01#,, schoolfee,[],1,my-id,p-item,'129 '666,12.12,2012-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,' 130 130 '100,%s,,paid,2012-04-01 14:12:01#,,12.12,' 131 131 '789,r-code,interswitch,,,,A111111,created,2012\r\n' % (curr_year-6), … … 187 187 self.assertEqual( 188 188 result, 189 'ac,amount_auth,creation_date,formatted_p_date,gateway_amt, '189 'ac,amount_auth,creation_date,formatted_p_date,gateway_amt,net_amt,' 190 190 'p_category,p_combi,p_current,p_id,p_item,p_level,p_session,p_split_data,p_state,' 191 191 'payment_date,provider_amt,r_amount_approved,r_card_num,r_code,' … … 194 194 'current_session,entry_session,entry_mode,faccode,depcode,certcode,lga\r\n' 195 195 196 '666,12.12,%s-04-01 13:12:01#,,, schoolfee,[],1,my-id,p-item,'196 '666,12.12,%s-04-01 13:12:01#,,,,schoolfee,[],1,my-id,p-item,' 197 197 '100,%s,,paid,%s-04-01 14:12:01#,,12.12,,r-code,,,,,A111111,' 198 198 '234,123,Anna,M.,Tester,created,2012,2010,ug_ft,NA,NA,CERT1,\r\n'
Note: See TracChangeset for help on using the changeset viewer.