Changeset 14471


Ignore:
Timestamp:
27 Jan 2017, 15:27:59 (8 years ago)
Author:
Henrik Bettermann
Message:

Customize iface_byregnumber (ICustomApplicantUpdateByRegNo).

Location:
main/waeup.aaue/trunk/src/waeup/aaue/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/batching.py

    r13544 r14471  
    1919"""
    2020from kofacustom.nigeria.applicants.batching import NigeriaApplicantProcessor
    21 from waeup.aaue.applicants.interfaces import ICustomApplicant
     21from waeup.aaue.applicants.interfaces import (
     22    ICustomApplicant, ICustomApplicantUpdateByRegNo)
    2223
    2324class CustomApplicantProcessor(NigeriaApplicantProcessor):
    2425
    2526    iface = ICustomApplicant
     27    iface_byregnumber = ICustomApplicantUpdateByRegNo
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py

    r14470 r14471  
    737737class ICustomApplicant(ICustomUGApplicant, ICustomPGApplicant,
    738738                       ITranscriptApplicant, ICertificateRequest):
    739     """An interface for all three types of applicants.
     739    """An interface for all types of applicants.
    740740
    741741    Attention: The ICustomPGApplicant field seetings will be overwritten
     
    813813    """
    814814
    815 class ICustomApplicantUpdateByRegNo(INigeriaApplicantUpdateByRegNo):
     815class ICustomApplicantUpdateByRegNo(ICustomApplicant):
    816816    """Representation of an applicant.
    817817
     
    820820    """
    821821
    822 
    823 
     822    reg_number = schema.TextLine(
     823        title = u'Registration Number',
     824        required = False,
     825        )
     826
     827
     828
     829
Note: See TracChangeset for help on using the changeset viewer.