Changeset 17363 for main


Ignore:
Timestamp:
27 Mar 2023, 12:46:52 (20 months ago)
Author:
Henrik Bettermann
Message:

Add two fields.

Location:
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/batching.py

    r17346 r17363  
    5454            'outstanding', 'course_category', 'level_session',
    5555            'title', 'credits', 'passmark', 'semester', 'ticket_session',
    56             'unlock_score', 'previous', 'carryover_score',
     56            'unlock_score', 'previous', 'carryover_score', 'in_progress',
     57            'resumption_date'
    5758            ] + self.additional_fields
    5859        return sorted(fields)
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/interfaces.py

    r17346 r17363  
    2020from waeup.kofa.students.vocabularies import StudyLevelSource
    2121from waeup.kofa.interfaces import (IKofaObject, academic_sessions_vocab)
     22from waeup.kofa.schema import FormattedDate
    2223from kofacustom.nigeria.students.interfaces import (
    2324    INigeriaStudentBase, INigeriaUGStudentClearance, INigeriaPGStudentClearance,
     
    101102        )
    102103
     104    in_progress = schema.Bool(
     105        title = _(u'Course in progress'),
     106        default = False,
     107        required = False,
     108        )
     109
     110    resumption_date = FormattedDate(
     111        title = _(u'Resumption Date'),
     112        required = False,
     113        show_year = True,
     114        )
     115
    103116ICustomCourseTicket['carryover_score'].order = ICustomCourseTicket['carry_over'].order
     117#ICustomCourseTicket['in_progress'].order = ICustomCourseTicket['grade'].order
     118#ICustomCourseTicket['resumption_date'].order = ICustomCourseTicket['grade'].order
    104119
    105120class ICustomCourseTicketImport(ICustomCourseTicket):
Note: See TracChangeset for help on using the changeset viewer.