Changeset 9890 for main/waeup.futminna/trunk/src
- Timestamp:
- 15 Jan 2013, 15:15:59 (12 years ago)
- Location:
- main/waeup.futminna/trunk/src/waeup/futminna/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/students/tests/test_browser.py
r9889 r9890 178 178 self.app['configuration']['2005'].penalty_ug = 9999.0 179 179 error, payment = utils.setPaymentDetails('schoolfee',self.student) 180 self.assertEqual(error, u'School fee payment disabled.')180 self.assertEqual(error, u'School fee payment is disabled.') 181 181 self.app['configuration']['2005'].penalty_ug = 3000.0 182 182 error, payment = utils.setPaymentDetails('schoolfee',self.student) -
main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py
r9889 r9890 150 150 amount = academic_session.booking_fee 151 151 if 9999.0 in (academic_session.penalty_pg, academic_session.penalty_ug): 152 return _('School fee payment disabled.'), None152 return _('School fee payment is disabled.'), None 153 153 if amount in (0.0, None): 154 154 return _('Amount could not be determined.'), None
Note: See TracChangeset for help on using the changeset viewer.