Ignore:
Timestamp:
13 Oct 2019, 19:45:45 (5 years ago)
Author:
Henrik Bettermann
Message:

Adjust to base package.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py

    r15470 r15665  
    194194    """
    195195    form_fields = grok.AutoFields(INigeriaStudentOnlinePayment).select(
    196         'p_category')
     196        'p_combi')
    197197
    198198class NigeriaOnlinePaymentFakeApproveView(OnlinePaymentFakeApproveView):
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py

    r15651 r15665  
    122122        result = open(self.outfile, 'rb').read()
    123123        self.assertMatches(
    124             'ac,amount_auth,creation_date,gateway_amt,p_category,p_current,'
     124            'ac,amount_auth,creation_date,gateway_amt,p_category,p_combi,p_current,'
    125125            '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'
    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,'
    130130            '100,%s,,paid,2012-04-01 14:12:01#,,12.12,'
    131131            '789,r-code,interswitch,,,,A111111,created,2012\r\n' % (curr_year-6),
     
    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_split_data,p_state,'
     190            'p_category,p_combi,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,'
     
    194194            'current_session,entry_session,entry_mode,faccode,depcode,certcode,lga\r\n'
    195195
    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,'
    197197            '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'
Note: See TracChangeset for help on using the changeset viewer.