Changeset 10270


Ignore:
Timestamp:
1 Jun 2013, 07:32:46 (12 years ago)
Author:
Henrik Bettermann
Message:

Don't show date of birth on admission slip.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r10266 r10270  
    500500    prefix = 'form'
    501501
     502    omit_fields = ('date_of_birth',)
     503
    502504    form_fields = grok.AutoFields(IStudentBase).select('student_id', 'reg_number')
    503505
     
    512514        students_utils = getUtility(IStudentsUtils)
    513515        return students_utils.renderPDFAdmissionLetter(self,
    514             self.context.student)
     516            self.context.student, omit_fields=self.omit_fields)
    515517
    516518class StudentBaseManageFormPage(KofaEditFormPage):
Note: See TracChangeset for help on using the changeset viewer.