Changeset 15406 for main/waeup.uniben/trunk/src/waeup/uniben
- Timestamp:
- 13 May 2019, 09:02:40 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/payments.py
r13624 r15406 47 47 return self.__parent__.__parent__ 48 48 49 def doAfterStudentPayment(self): 50 """Process student after payment was made. 51 """ 52 if self.p_current: 53 error = self.redeemTicket() 54 if error is not None: 55 return 'danger', error, error 56 log = 'successful %s payment: %s' % (self.p_category, self.p_id) 57 msg = _('Payment successfully completed') 58 if self.p_category in ('schoolfee',): 59 msg += ('. Please proceed to library clearance, register your ' 60 'courses online and proceed to your ' 61 'level course adviser for validation.') 62 flashtype = 'success' 63 return flashtype, msg, log 64 49 65 CustomStudentOnlinePayment = attrs_to_fields( 50 66 CustomStudentOnlinePayment, omit=['display_item'])
Note: See TracChangeset for help on using the changeset viewer.