Ignore:
Timestamp:
14 Oct 2018, 16:48:34 (6 years ago)
Author:
Henrik Bettermann
Message:

Add two fields to ICustomSpecialApplicant and export these fields too.

Location:
main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants/export.py

    r14716 r15186  
    2525    INigeriaUGApplicant, INigeriaPGApplicant)
    2626from kofacustom.dspg.applicants.interfaces import (
    27     ICustomUGApplicant, ICustomPGApplicant)
     27    ICustomUGApplicant, ICustomPGApplicant, ICustomSpecialApplicant)
    2828
    2929class CustomApplicantExporter(NigeriaApplicantExporter):
     
    3434        iface_names(ICustomUGApplicant) +
    3535        iface_names(ICustomPGApplicant) +
     36        iface_names(ICustomSpecialApplicant) +
    3637        iface_names(INigeriaUGApplicant) +
    3738        iface_names(INigeriaPGApplicant) +
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants/interfaces.py

    r14865 r15186  
    291291        )
    292292
     293    matric_number = schema.TextLine(
     294        title = _(u'Matric Number'),
     295        required = False,
     296        readonly = False,
     297        )
     298
     299    department = schema.TextLine(
     300        title = _(u'Department'),
     301        required = False,
     302        readonly = False,
     303        )
     304
    293305class ICustomApplicant(ICustomUGApplicant, ICustomPGApplicant,
    294306                       ICustomSpecialApplicant):
Note: See TracChangeset for help on using the changeset viewer.