Changeset 15025 for main/waeup.uniben/trunk/src/waeup/uniben
- Timestamp:
- 25 May 2018, 05:47:23 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/export.py
r14856 r15025 18 18 """Exporters for student related stuff. 19 19 """ 20 from datetime import datetime 20 21 from waeup.uniben.students.interfaces import ( 21 22 ICustomStudent, … … 30 31 NigeriaCourseTicketExporter, 31 32 NigeriaStudentPaymentExporter, 32 NigeriaDataForBursaryExporter) 33 NigeriaDataForBursaryExporter, 34 ) 35 from waeup.kofa.students.export import StudentPaymentsOverviewExporter 33 36 from waeup.kofa.utils.helpers import iface_names 34 37 … … 88 91 'entry_session', 'entry_mode', 89 92 'faccode', 'depcode','certcode') 93 94 class CustomStudentPaymentsOverviewExporter(StudentPaymentsOverviewExporter): 95 96 curr_year = datetime.now().year 97 year_range = range(curr_year - 13, curr_year + 1) # two more years in Uniben 98 year_range_tuple = tuple([str(year) for year in year_range]) 99 100 fields = ('student_id', 'matric_number', 'display_fullname', 101 'state', 'certcode', 'faccode', 'depcode', 'is_postgrad', 102 'current_level', 'current_session', 'current_mode', 103 'entry_session', 'reg_number' 104 ) + year_range_tuple
Note: See TracChangeset for help on using the changeset viewer.