Ignore:
Timestamp:
17 Jan 2016, 08:47:32 (9 years ago)
Author:
Henrik Bettermann
Message:

Adjust to changes in base package.

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

Legend:

Unmodified
Added
Removed
  • main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/payments.py

    r11940 r13630  
    2323from zope.interface import implementedBy
    2424from waeup.kofa.students.interfaces import IStudentNavigation
    25 from waeup.kofa.students.payments import (
    26     StudentOnlinePayment, StudentOnlinePaymentFactory)
    2725from waeup.kofa.utils.helpers import attrs_to_fields
     26from kofacustom.nigeria.students.payments import (
     27    NigeriaStudentOnlinePayment, NigeriaStudentOnlinePaymentFactory)
    2828from kofacustom.wdu.students.interfaces import ICustomStudentOnlinePayment
    2929
    30 class CustomStudentOnlinePayment(StudentOnlinePayment):
     30class CustomStudentOnlinePayment(NigeriaStudentOnlinePayment):
    3131    """This is a custom online payment for students.
    3232
     
    5050    CustomStudentOnlinePayment, omit=['display_item'])
    5151
    52 class CustomStudentOnlinePaymentFactory(StudentOnlinePaymentFactory):
     52class CustomStudentOnlinePaymentFactory(NigeriaStudentOnlinePaymentFactory):
    5353    """A factory for student online payments.
    5454    """
  • main/kofacustom.wdu/trunk/src/kofacustom/wdu/students/tests/test_export.py

    r13116 r13630  
    4949            'clr_code,date_of_birth,def_adm,disabled,email,emp2_end,'
    5050            'emp2_position,emp2_reason,emp2_start,emp_end,emp_position,'
    51             'emp_reason,emp_start,employer,employer2,firstname,former_matric,'
     51            'emp_reason,emp_start,employer,employer2,'
     52            'financial_clearance_date,financially_cleared_by,'
     53            'firstname,former_matric,'
    5254            'fst_sit_date,fst_sit_fname,fst_sit_no,fst_sit_results,'
    5355            'fst_sit_type,hq2_degree,hq2_disc,hq2_matric_no,hq2_school,'
     
    6365            'current_level,current_session\r\nmy adm code,,,,'
    6466            '"[(\'printing_craft_practice\', \'A1\')]",my clr code,1981-02-04#,,,'
    65             'anna@sample.com,,,,,,,,,,,Anna,,,,,"[(\'printing_craft_practice\', \'A1\')]"'
     67            'anna@sample.com,,,,,,,,,,,,,Anna,,,,,"[(\'printing_craft_practice\', \'A1\')]"'
    6668            ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,'
    6769            '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,,123,,,,,'
Note: See TracChangeset for help on using the changeset viewer.