Changeset 9891 for main/waeup.futminna/trunk/src/waeup
- Timestamp:
- 15 Jan 2013, 15:25:06 (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
r9890 r9891 177 177 # Penalty fee is taken into consideration 178 178 self.app['configuration']['2005'].penalty_ug = 9999.0 179 self.app['configuration']['2005'].penalty_pg = 9999.0 179 180 error, payment = utils.setPaymentDetails('schoolfee',self.student) 180 181 self.assertEqual(error, u'School fee payment is disabled.') -
main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py
r9890 r9891 149 149 p_item = self.getAccommodationDetails(student)['bt'] 150 150 amount = academic_session.booking_fee 151 if 9999.0 in (academic_session.penalty_pg, academic_session.penalty_ug): 151 if category == 'schoolfee' and student.is_postgrad and \ 152 9999.0 == academic_session.penalty_pg: 153 return _('School fee payment is disabled.'), None 154 elif category == 'schoolfee' and 9999.0 == academic_session.penalty_ug: 152 155 return _('School fee payment is disabled.'), None 153 156 if amount in (0.0, None):
Note: See TracChangeset for help on using the changeset viewer.