Ignore:
Timestamp:
29 Sep 2020, 07:00:27 (4 years ago)
Author:
Henrik Bettermann
Message:

More customizations regarding personal/bio data forms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/browser.py

    r16249 r16252  
    3333    CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage,
    3434    StartClearancePage, BalancePaymentAddFormPage,
    35     ExportPDFAdmissionSlip,
     35    ExportPDFAdmissionSlip, ExportPDFPersonalDataSlip,
    3636    msave, emit_lock_message)
    3737from waeup.kofa.students.interfaces import (
     
    129129        'personal_updated'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    130130
     131class CustomExportPDFPersonalDataSlip(ExportPDFPersonalDataSlip):
     132    """Deliver a PDF base and personal data slip.
     133    """
     134    omit_fields = (
     135        'phone', 'email',
     136        'suspended',
     137        'adm_code', 'suspended_comment',
     138        'current_level',
     139        'flash_notice', 'entry_session',
     140        'parents_email')
     141
     142    form_fields = grok.AutoFields(ICustomStudentPersonal)
     143
    131144class CustomAccommodationDisplayFormPage(NigeriaAccommodationDisplayFormPage):
    132145    """ Page to view bed tickets.
Note: See TracChangeset for help on using the changeset viewer.