- Timestamp:
- 3 Apr 2014, 12:53:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/payment.py
r10914 r11570 49 49 except InvalidTransitionError: 50 50 msg = log = 'Error: %s' % sys.exc_info()[1] 51 return False,msg, log51 return msg, log 52 52 log = 'payment approved: %s' % self.p_id 53 53 msg = _('Payment approved') 54 return False,msg, log54 return msg, log 55 55 56 56 def doAfterApplicantPayment(self): … … 62 62 except InvalidTransitionError: 63 63 msg = log = 'Error: %s' % sys.exc_info()[1] 64 return False,msg, log64 return msg, log 65 65 log = 'successful payment: %s' % self.p_id 66 66 msg = _('Successful payment') 67 return False,msg, log67 return msg, log 68 68 69 69 def approveApplicantPayment(self): … … 71 71 """ 72 72 if self.p_state == 'paid': 73 return False,_('This ticket has already been paid.'), None73 return _('This ticket has already been paid.'), None 74 74 self.approve() 75 75 return self.doAfterApplicantPaymentApproval()
Note: See TracChangeset for help on using the changeset viewer.