Changeset 15324 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 8 Feb 2019, 08:26:19 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/payment.py
r9990 r15324 41 41 return 42 42 43 def doAfterApplicantPayment(self): 44 """Process applicant after payment was made. 45 """ 46 if not (self.__parent__.special and self.__parent__.state == PAID): 47 wf_info = IWorkflowInfo(self.__parent__) 48 try: 49 wf_info.fireTransition('pay') 50 except InvalidTransitionError: 51 msg = log = 'Error: %s' % sys.exc_info()[1] 52 return 'danger', msg, log 53 log = 'successful payment: %s' % self.p_id 54 msg = _('Payment successfully completed. Kindly submit application for processing.') 55 flashtype = 'success' 56 return flashtype, msg, log 57 43 58 CustomApplicantOnlinePayment = attrs_to_fields( 44 59 CustomApplicantOnlinePayment, omit=['display_item'])
Note: See TracChangeset for help on using the changeset viewer.