Changeset 13944 for main/kofacustom.nigeria/trunk
- Timestamp:
- 15 Jun 2016, 08:43:43 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/export.py
r13623 r13944 31 31 StudentStudyLevelExporter, 32 32 CourseTicketExporter, 33 StudentPaymentExporter) 33 StudentPaymentExporter, 34 DataForBursaryExporter) 34 35 from waeup.kofa.utils.helpers import iface_names 35 36 from kofacustom.nigeria.interfaces import MessageFactory as _ … … 39 40 """ 40 41 41 #: Fieldnames considered by this exporter42 42 fields = tuple(sorted(iface_names( 43 43 INigeriaStudent, omit=['loggerInfo']))) + ( … … 56 56 """ 57 57 58 #: Fieldnames considered by this exporter59 58 fields = tuple( 60 59 sorted(iface_names(INigeriaStudentStudyCourse))) + ('student_id',) … … 63 62 """Exporter for StudentStudyLevels. 64 63 """ 65 #: Fieldnames considered by this exporter66 64 fields = tuple(sorted(iface_names( 67 65 INigeriaStudentStudyLevel))) + ( … … 72 70 """ 73 71 74 #: Fieldnames considered by this exporter75 72 fields = tuple(sorted(iface_names(INigeriaCourseTicket) + 76 73 ['level', 'code', 'level_session'])) + ('student_id', … … 81 78 """ 82 79 83 #: Fieldnames considered by this exporter84 80 fields = tuple( 85 81 sorted(iface_names( … … 87 83 omit=['display_item','formatted_p_date']))) + ( 88 84 'student_id','state','current_session') 85 86 class NigeriaDataForBursaryExporter(DataForBursaryExporter): 87 """Exporter for bursary data. 88 """ 89 90 fields = tuple( 91 sorted(iface_names( 92 INigeriaStudentOnlinePayment, exclude_attribs=False, 93 omit=['display_item', 'certificate', 'student']))) + ( 94 'student_id','matric_number','reg_number', 95 'firstname', 'middlename', 'lastname', 96 'state','current_session', 97 'entry_session', 'entry_mode', 98 'faccode', 'depcode','certcode') 89 99 90 100 class ClearanceRequestedStudentExporter(StudentExporter):
Note: See TracChangeset for help on using the changeset viewer.