Changeset 16766
- Timestamp:
- 31 Jan 2022, 22:17:52 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r16759 r16766 504 504 @property 505 505 def form_fields(self): 506 state = IWorkflowState(self.context).getState() 506 507 if self.target is not None and self.target == 'tscf': 507 508 form_fields = grok.AutoFields(ITranscriptApplicant) … … 511 512 form_fields = form_fields.omit(field) 512 513 form_fields = form_fields.omit('locked') 514 if state == PAID: 515 form_fields['order'].for_display = True 513 516 return form_fields 514 517 if self.target is not None and self.target == 'tscs': … … 519 522 form_fields = form_fields.omit(field) 520 523 form_fields = form_fields.omit('locked') 524 if state == PAID: 525 form_fields['order'].for_display = True 521 526 return form_fields 522 527 if self.target == 'ictwk': … … 524 529 for field in REGISTRATION_OMIT_EDIT_FIELDS: 525 530 form_fields = form_fields.omit(field) 526 state = IWorkflowState(self.context).getState()527 531 if state != STARTED: 528 532 form_fields['registration_cats'].for_display = True
Note: See TracChangeset for help on using the changeset viewer.