Ignore:
Timestamp:
9 Sep 2017, 11:14:00 (7 years ago)
Author:
Henrik Bettermann
Message:

Customize ApplicantPaymentExporter?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/export.py

    r14020 r14851  
    2020import grok
    2121from waeup.kofa.applicants.interfaces import IApplicantBaseData
     22from waeup.kofa.applicants.export import ApplicantPaymentExporter
    2223from waeup.kofa.utils.helpers import iface_names
    2324from kofacustom.nigeria.applicants.export import NigeriaApplicantExporter
     
    4041        'display_fullname', 'application_date')
    4142
     43class CustomApplicantPaymentExporter(ApplicantPaymentExporter):
     44    """Exporter for OnlinePayment instances.
     45    """
     46
     47    @property
     48    def fields(self):
     49        return super(CustomApplicantPaymentExporter, self).fields + (
     50            'r_pay_reference',)
Note: See TracChangeset for help on using the changeset viewer.