Ignore:
Timestamp:
20 Jun 2019, 16:17:46 (6 years ago)
Author:
Henrik Bettermann
Message:

Add p_split_data field.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/tests.py

    r15351 r15468  
    3636#   If you enable this, please make sure the external services
    3737#   do exist really and are not bothered by being spammed by a test programme.
    38 EXTERNAL_TESTS = True
     38
     39EXTERNAL_TESTS = False  # URLs do no longer work
    3940
    4041MERCHANTID = '2547916'
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/interfaces.py

    r14274 r15468  
    540540        )
    541541
     542    p_split_data = schema.TextLine(
     543        title = _(u'Split Payment Data'),
     544        required = False,
     545        readonly = False,
     546        )
     547
    542548INigeriaStudentOnlinePayment['p_level'].order = INigeriaStudentOnlinePayment[
    543549    'p_session'].order
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py

    r15351 r15468  
    123123        self.assertMatches(
    124124            'ac,amount_auth,creation_date,gateway_amt,p_category,p_current,'
    125             'p_id,p_item,p_level,p_session,p_state,payment_date,provider_amt,'
     125            'p_id,p_item,p_level,p_session,p_split_data,p_state,payment_date,provider_amt,'
    126126            'r_amount_approved,r_card_num,r_code,r_company,r_desc,'
    127127            'r_pay_reference,thirdparty_amt,student_id,state,'
    128128            'current_session\r\n'
    129129            '666,12.12,2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'
    130             '100,%s,paid,2012-04-01 14:12:01#,,12.12,'
     130            '100,%s,,paid,2012-04-01 14:12:01#,,12.12,'
    131131            '789,r-code,interswitch,,,,A111111,created,2012\r\n' % (curr_year-6),
    132132            result
     
    188188            result,
    189189            'ac,amount_auth,creation_date,formatted_p_date,gateway_amt,'
    190             'p_category,p_current,p_id,p_item,p_level,p_session,p_state,'
     190            'p_category,p_current,p_id,p_item,p_level,p_session,p_split_data,p_state,'
    191191            'payment_date,provider_amt,r_amount_approved,r_card_num,r_code,'
    192192            'r_company,r_desc,r_pay_reference,thirdparty_amt,student_id,'
     
    195195
    196196            '666,12.12,%s-04-01 13:12:01#,,,schoolfee,1,my-id,p-item,'
    197             '100,%s,paid,%s-04-01 14:12:01#,,12.12,,r-code,,,,,A111111,'
     197            '100,%s,,paid,%s-04-01 14:12:01#,,12.12,,r-code,,,,,A111111,'
    198198            '234,123,Anna,M.,Tester,created,2012,2010,ug_ft,NA,NA,CERT1,\r\n'
    199199            % (curr_year-6, curr_year-6, curr_year-6)
Note: See TracChangeset for help on using the changeset viewer.