Changeset 9375 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 21 Oct 2012, 20:58:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9374 r9375 600 600 grok.require('waeup.viewStudent') 601 601 prefix = 'form' 602 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'sex') 602 603 603 604 @property … … 631 632 def render(self): 632 633 studentview = StudentBasePDFFormPage(self.context.student, 633 self.request, ('password', 'suspended', 'phone', 'adm_code', 'sex'))634 self.request, self.omit_fields) 634 635 students_utils = getUtility(IStudentsUtils) 635 636 return students_utils.renderPDF( … … 990 991 form_fields = grok.AutoFields(IStudentStudyLevel) 991 992 prefix = 'form' 993 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'sex') 992 994 993 995 @property … … 1024 1026 Score = translate(_('Score'), 'waeup.kofa', target_language=portal_language) 1025 1027 studentview = StudentBasePDFFormPage(self.context.student, 1026 self.request, ('password', 'suspended', 'phone', 'adm_code', 'sex'))1028 self.request, self.omit_fields) 1027 1029 students_utils = getUtility(IStudentsUtils) 1028 1030 tabledata = sorted(self.context.values(), … … 1415 1417 prefix = 'form' 1416 1418 note = None 1419 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'sex') 1417 1420 1418 1421 @property … … 1435 1438 # return 1436 1439 studentview = StudentBasePDFFormPage(self.context.student, 1437 self.request, ('password', 'suspended', 'phone', 'adm_code', 'sex'))1440 self.request, self.omit_fields) 1438 1441 students_utils = getUtility(IStudentsUtils) 1439 1442 return students_utils.renderPDF(self, 'payment_slip.pdf', … … 1645 1648 form_fields['booking_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 1646 1649 prefix = 'form' 1650 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'sex') 1647 1651 1648 1652 @property … … 1664 1668 def render(self): 1665 1669 studentview = StudentBasePDFFormPage(self.context.student, 1666 self.request, ('password', 'suspended', 'phone', 'adm_code', 'sex'))1670 self.request, self.omit_fields) 1667 1671 students_utils = getUtility(IStudentsUtils) 1668 1672 return students_utils.renderPDF(
Note: See TracChangeset for help on using the changeset viewer.