Changeset 15555 for main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Timestamp:
- 19 Aug 2019, 19:37:55 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/payment.py
r15492 r15555 46 46 return 47 47 48 def doAfterApplicantPayment(self):49 """Process applicant after payment was made.50 """51 if not (self.__parent__.special and self.__parent__.state == PAID):52 wf_info = IWorkflowInfo(self.__parent__)53 try:54 wf_info.fireTransition('pay')55 except InvalidTransitionError:56 msg = log = 'Error: %s' % sys.exc_info()[1]57 return 'danger', msg, log58 log = 'successful payment: %s' % self.p_id59 msg = _('Payment successfully completed. Kindly submit application for processing.')60 flashtype = 'success'61 return flashtype, msg, log62 63 48 CustomApplicantOnlinePayment = attrs_to_fields( 64 49 CustomApplicantOnlinePayment, omit=['display_item'])
Note: See TracChangeset for help on using the changeset viewer.