Changeset 9516 for main/waeup.kofa
- Timestamp:
- 3 Nov 2012, 09:25:46 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9486 r9516 1378 1378 if error is not None: 1379 1379 self.flash(error) 1380 if 'previous session' in error :1380 if 'previous session' in error or 'Would you like' in error: 1381 1381 self.redirect(self.url(self.context) + '/@@addpp') 1382 1382 return -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9514 r9516 833 833 '...This type of payment has already been made...', 834 834 self.browser.contents) 835 # The PreviousPaymentAddFormPage opens 836 self.assertEqual(self.browser.url, self.payments_path + '/@@addpp') 835 837 836 838 # Managers can open the pdf payment slip -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r9452 r9516 381 381 ticket.p_session == p_session: 382 382 return _('This type of payment has already been made.' + 383 ' Would you like to pay for a previoussession?'), None383 ' Would you like to pay for another session?'), None 384 384 payment = createObject(u'waeup.StudentOnlinePayment') 385 385 timestamp = ("%d" % int(time()*10000))[1:]
Note: See TracChangeset for help on using the changeset viewer.