Changeset 13797 for main/waeup.kofa/trunk/src
- Timestamp:
- 4 Apr 2016, 09:05:31 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r13773 r13797 1146 1146 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 1147 1147 self.browser.getControl("Create ticket").click() 1148 self.assertMatches('... Payment temporarilydisabled...',1148 self.assertMatches('...This category of payments has been disabled...', 1149 1149 self.browser.contents) 1150 1150 return -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r13665 r13797 478 478 return _('This type of payment has already been made.'), None 479 479 if self._isPaymentDisabled(p_session, category, student): 480 return _(' Payment temporarilydisabled.'), None480 return _('This category of payments has been disabled.'), None 481 481 payment = createObject(u'waeup.StudentOnlinePayment') 482 482 timestamp = ("%d" % int(time()*10000))[1:]
Note: See TracChangeset for help on using the changeset viewer.