Ignore:
Timestamp:
8 May 2023, 17:21:10 (18 months ago)
Author:
Henrik Bettermann
Message:

New 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

    r17363 r17405  
    5555            'title', 'credits', 'passmark', 'semester', 'ticket_session',
    5656            'unlock_score', 'previous', 'carryover_score', 'in_progress',
    57             'resumption_date'
     57            'resumption_date', 'rst_grade', 'attempted_number'
    5858            ] + self.additional_fields
    5959        return sorted(fields)
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/interfaces.py

    r17363 r17405  
    102102        )
    103103
     104    attempted_number = schema.Int(
     105        title = _(u'Attempted Number'),
     106        default = None,
     107        required = False,
     108        missing_value = None,
     109        max = 5,
     110        )
     111
     112    rst_grade = schema.TextLine(
     113        title = _(u'RST Grade'),
     114        required = False,
     115        )
     116
    104117    in_progress = schema.Bool(
    105         title = _(u'Course in progress'),
     118        title = _(u'Course in Progress'),
    106119        default = False,
    107120        required = False,
     
    135148        )
    136149
    137     carryover_score = schema.Int(
    138         title = _(u'Carry-over Score'),
    139         default = None,
    140         required = False,
    141         missing_value = None,
    142         max = 100,
    143         )
    144 
    145150class ICustomStudentUpdateByRegNo(INigeriaStudentUpdateByRegNo):
    146151    """Representation of a student. Skip regular reg_number validation.
Note: See TracChangeset for help on using the changeset viewer.