Changeset 8434 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 12 May 2012, 16:27:14 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r8428 r8434 730 730 transition. 731 731 """ 732 allowed_transitions = self.wf_info.getManualTransitions() 732 allowed_transitions = [t for t in self.wf_info.getManualTransitions() 733 if not t[0] == 'pay'] 733 734 return [dict(name='', title=_('No transition'))] +[ 734 735 dict(name=x, title=y) for x, y in allowed_transitions] -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/payment.py
r8431 r8434 45 45 wf_info = IWorkflowInfo(self.__parent__) 46 46 try: 47 wf_info.fireTransition(' pay')47 wf_info.fireTransition('approve') 48 48 except InvalidTransitionError: 49 49 msg = log = 'Error: %s' % sys.exc_info()[1] -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/workflow.py
r8373 r8434 65 65 transition_id = 'pay', 66 66 title = _('Pay application fee'), 67 msg = _('Fee paid'), 67 msg = _('Payment made'), 68 source = STARTED, 69 destination = PAID), 70 71 Transition( 72 transition_id = 'approve', 73 title = _('Approve payment'), 74 msg = _('Payment approved'), 68 75 source = STARTED, 69 76 destination = PAID),
Note: See TracChangeset for help on using the changeset viewer.