Changeset 11545 for main/kofacustom.skeleton/trunk/src/kofacustom
- Timestamp:
- 27 Mar 2014, 11:08:30 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/students/export.py
r11543 r11545 19 19 """ 20 20 from kofacustom.skeleton.students.interfaces import ( 21 ICustomStudent, ICustomStudentStudyCourse, ICustomCourseTicket, 21 ICustomStudent, 22 ICustomStudentStudyCourse, 23 ICustomStudentStudyLevel, 24 ICustomCourseTicket, 22 25 ICustomStudentOnlinePayment) 23 26 from kofacustom.nigeria.students.export import ( 24 NigeriaStudentsExporter, NigeriaStudentStudyCourseExporter, 25 NigeriaCourseTicketExporter, NigeriaStudentPaymentsExporter) 27 NigeriaStudentsExporter, 28 NigeriaStudentStudyCourseExporter, 29 NigeriaStudentStudyLevelExporter, 30 NigeriaCourseTicketExporter, 31 NigeriaStudentPaymentsExporter) 26 32 from waeup.kofa.utils.helpers import iface_names 27 33 … … 41 47 fields = tuple( 42 48 sorted(iface_names(ICustomStudentStudyCourse))) + ('student_id',) 49 50 class 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') 43 57 44 58 class CustomCourseTicketExporter(NigeriaCourseTicketExporter):
Note: See TracChangeset for help on using the changeset viewer.