- Timestamp:
- 13 Jul 2016, 09:47:28 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r14027 r14029 310 310 state = IWorkflowState(self.context).getState() 311 311 # If the form is unlocked, applicants are allowed to save the form 312 actions = [[_('Save')],] 312 # and remove unused tickets. 313 actions = [[_('Save')], []] 313 314 # Only in state started they can also add tickets. 314 315 if state == STARTED: 315 actions = [[_('Save')], [_('Add online payment ticket'),]] 316 actions = [[_('Save')], 317 [_('Add online payment ticket')]] 316 318 # In state paid, they can submit the data and further add tickets 317 319 # if the application is special. 318 320 elif self.context.special and state == PAID: 319 321 actions = [[_('Save'), _('Finally Submit')], 320 [_('Add online payment ticket') ,]]322 [_('Add online payment ticket')]] 321 323 elif state == PAID: 322 actions = [[_('Save'), _('Finally Submit')], ]324 actions = [[_('Save'), _('Finally Submit')], []] 323 325 return actions 324 326
Note: See TracChangeset for help on using the changeset viewer.