Ignore:
Timestamp:
27 Mar 2014, 11:08:30 (11 years ago)
Author:
Henrik Bettermann
Message:

Add CustomStudentStudyLevelExporter?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/students/export.py

    r11543 r11545  
    1919"""
    2020from kofacustom.skeleton.students.interfaces import (
    21     ICustomStudent, ICustomStudentStudyCourse, ICustomCourseTicket,
     21    ICustomStudent,
     22    ICustomStudentStudyCourse,
     23    ICustomStudentStudyLevel,
     24    ICustomCourseTicket,
    2225    ICustomStudentOnlinePayment)
    2326from kofacustom.nigeria.students.export import (
    24     NigeriaStudentsExporter, NigeriaStudentStudyCourseExporter,
    25     NigeriaCourseTicketExporter, NigeriaStudentPaymentsExporter)
     27    NigeriaStudentsExporter,
     28    NigeriaStudentStudyCourseExporter,
     29    NigeriaStudentStudyLevelExporter,
     30    NigeriaCourseTicketExporter,
     31    NigeriaStudentPaymentsExporter)
    2632from waeup.kofa.utils.helpers import iface_names
    2733
     
    4147    fields = tuple(
    4248        sorted(iface_names(ICustomStudentStudyCourse))) + ('student_id',)
     49
     50class CustomStudentStudyLevelExporter(NigeriaStudentStudyLevelExporter):
     51    """Exporter for StudentStudyLevels.
     52    """
     53    #: Fieldnames considered by this exporter
     54    fields = tuple(sorted(iface_names(
     55        ICustomStudentStudyLevel) + ['level'])) + (
     56        'student_id', 'number_of_tickets','certcode')
    4357
    4458class CustomCourseTicketExporter(NigeriaCourseTicketExporter):
Note: See TracChangeset for help on using the changeset viewer.