Changeset 18031 for main/waeup.uniben/trunk/src
- Timestamp:
- 6 Mar 2025, 03:01:33 (12 hours ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/interfaces.py
r17608 r18031 148 148 ) 149 149 150 stat_result_fee = schema.Float( 151 title = _(u'Statement of Result Fee'), 152 default = 0.0, 153 required = False, 154 ) 155 150 156 remita_enabled = schema.Bool( 151 157 title = _(u'Remita integration enabled'), -
main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py
r17904 r18031 473 473 grok.name('passport2') 474 474 download_name = u'passport2' 475 476 # ID Card 477 478 class IDCardDisplay(StudentFileDisplay): 479 """ID Card viewlet. 480 """ 481 grok.order(11) 482 grok.context(ICustomStudent) 483 grok.view(StudentBaseDisplayFormPage) 484 grok.require('waeup.viewStudent') 485 label = _(u'ID Card') 486 download_name = u'idcard.pdf' 487 488 class IDCardUploadManage(StudentFileUpload): 489 """ID Card upload viewlet for officers. 490 """ 491 grok.order(10) 492 grok.context(ICustomStudent) 493 grok.view(StudentBaseManageFormPage) 494 grok.require('waeup.manageStudent') 495 label = _(u'ID Card (pdf only)') 496 download_name = u'idcard.pdf' 497 498 class IDCard(StudentImage): 499 """Renders ID Card slip. 500 """ 501 grok.name('idcard.pdf') 502 download_name = u'idcard' 503 504 @property 505 def add_id(self): 506 return self.context.student_id -
main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py
r17967 r18031 101 101 'flc_modules': 'FLC Modules Fee', 102 102 'medical_clearance': 'Medical Clearance Fee', 103 'stat_result': 'Statement of Result Fee', 103 104 } 104 105 … … 125 126 'flc_modules': 'FLC Modules Fee', 126 127 'medical_clearance': 'Medical Clearance Fee', 128 'stat_result': 'Statement of Result Fee', 127 129 } 128 130
Note: See TracChangeset for help on using the changeset viewer.