Changeset 14856 for main


Ignore:
Timestamp:
28 Sep 2017, 06:44:00 (7 years ago)
Author:
Henrik Bettermann
Message:

Customize NigeriaDataForBursaryExporter?.

File:
1 edited

Legend:

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

    r13621 r14856  
    2929    NigeriaStudentStudyLevelExporter,
    3030    NigeriaCourseTicketExporter,
    31     NigeriaStudentPaymentExporter)
     31    NigeriaStudentPaymentExporter,
     32    NigeriaDataForBursaryExporter)
    3233from waeup.kofa.utils.helpers import iface_names
    3334
     
    7475            'student_id','state','current_session')
    7576
     77class CustomDataForBursaryExporter(NigeriaDataForBursaryExporter):
     78    """
     79    """
     80
     81    fields = tuple(
     82        sorted(iface_names(
     83            ICustomStudentOnlinePayment, exclude_attribs=False,
     84            omit=['display_item', 'certificate', 'student']))) + (
     85            'student_id','matric_number','reg_number',
     86            'firstname', 'middlename', 'lastname',
     87            'state','current_session',
     88            'entry_session', 'entry_mode',
     89            'faccode', 'depcode','certcode')
Note: See TracChangeset for help on using the changeset viewer.