Ignore:
Timestamp:
31 Jul 2019, 11:55:46 (5 years ago)
Author:
Henrik Bettermann
Message:

Implement "Scanned Result/Certificate? via email" application form.

File:
1 edited

Legend:

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

    r15530 r15531  
    867867        )
    868868
     869class ISendByEmailRequest(IKofaObject):
     870    """A applicant asking for sending an email.
     871    """
     872
     873    suspended = schema.Bool(
     874        title = _(u'Account suspended'),
     875        default = False,
     876        required = False,
     877        )
     878
     879    locked = schema.Bool(
     880        title = _(u'Form locked'),
     881        default = False,
     882        required = False,
     883        )
     884
     885    applicant_id = schema.TextLine(
     886        title = _(u'Applicant Id'),
     887        required = False,
     888        readonly = False,
     889        )
     890
     891    firstname = schema.TextLine(
     892        title = _(u'First Name'),
     893        required = True,
     894        )
     895
     896    middlename = schema.TextLine(
     897        title = _(u'Middle Name'),
     898        required = False,
     899        )
     900
     901    lastname = schema.TextLine(
     902        title = _(u'Last Name (Surname)'),
     903        required = True,
     904        )
     905
     906    email = schema.ASCIILine(
     907        title = _(u"Applicant's Email Address"),
     908        required = True,
     909        constraint=validate_email,
     910        )
     911
     912    body_address = schema.Text(
     913        title = _(u'Address of Requesting Organization'),
     914        required = True,
     915        )
     916
     917    body_email = schema.ASCIILine(
     918        title = _(u"Email Address of Requesting Organization"),
     919        required = True,
     920        constraint=validate_email,
     921        )
    869922
    870923class ICustomApplicant(ICustomUGApplicant, ICustomPGApplicant,
    871924                       ITranscriptApplicant, ICertificateRequest,
    872                        IVerificationRequest):
     925                       IVerificationRequest, ISendByEmailRequest):
    873926    """An interface for all types of applicants.
    874927
Note: See TracChangeset for help on using the changeset viewer.