Changeset 11544


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

Add NigeriaStudentStudyLevel? exporter.

Location:
main/kofacustom.nigeria/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/CHANGES.txt

    r11541 r11544  
    441.2 (unreleased)
    55================
     6
     7- Add NigeriaStudentStudyLevelExporter.
    68
    79- Add higher qualification 'WAEC Technical Examination'
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/export.py

    r11491 r11544  
    1919"""
    2020from kofacustom.nigeria.students.interfaces import (
    21     INigeriaStudent, INigeriaStudentStudyCourse, INigeriaCourseTicket,
     21    INigeriaStudent,
     22    INigeriaStudentStudyCourse,
     23    INigeriaStudentStudyLevel,
     24    INigeriaCourseTicket,
    2225    INigeriaStudentOnlinePayment)
    2326from waeup.kofa.students.export import (
    24     StudentsExporter, StudentStudyCourseExporter, CourseTicketExporter,
     27    StudentsExporter,
     28    StudentStudyCourseExporter,
     29    StudentStudyLevelExporter,
     30    CourseTicketExporter,
    2531    StudentPaymentsExporter)
    2632from waeup.kofa.utils.helpers import iface_names
     
    5157        sorted(iface_names(INigeriaStudentStudyCourse))) + ('student_id',)
    5258
     59class NigeriaStudentStudyLevelExporter(StudentStudyLevelExporter):
     60    """Exporter for StudentStudyLevels.
     61    """
     62    #: Fieldnames considered by this exporter
     63    fields = tuple(sorted(iface_names(
     64        INigeriaStudentStudyLevel) + ['level'])) + (
     65        'student_id', 'number_of_tickets','certcode')
    5366
    5467class NigeriaCourseTicketExporter(CourseTicketExporter):
Note: See TracChangeset for help on using the changeset viewer.