Changeset 17642 for main


Ignore:
Timestamp:
13 Nov 2023, 18:14:57 (12 months ago)
Author:
Henrik Bettermann
Message:

Export p_split_data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/export.py

    r13979 r17642  
    2020import grok
    2121from waeup.kofa.applicants.interfaces import IApplicantBaseData
    22 from waeup.kofa.applicants.export import ApplicantExporter
     22from waeup.kofa.applicants.export import (
     23    ApplicantExporter, ApplicantPaymentExporter)
    2324from waeup.kofa.utils.helpers import iface_names
    2425from kofacustom.nigeria.applicants.interfaces import (
    25     INigeriaUGApplicant, INigeriaPGApplicant)
     26    INigeriaUGApplicant, INigeriaPGApplicant,
     27    INigeriaApplicantOnlinePayment)
    2628
    2729class NigeriaApplicantExporter(ApplicantExporter):
     
    4749            NigeriaApplicantExporter, self).mangle_value(
    4850            value, name, context=context)
     51
     52
     53class NigeriaApplicantPaymentExporter(ApplicantPaymentExporter):
     54    """
     55    """
     56
     57    fields = tuple(sorted(iface_names(
     58        INigeriaApplicantOnlinePayment,
     59        exclude_attribs=False,
     60        omit=['display_item', 'p_option']))) + (
     61              'applicant_id',
     62              'reg_number',
     63              'display_fullname',)
Note: See TracChangeset for help on using the changeset viewer.