Changeset 9714 for main/waeup.futminna/trunk/src/waeup/futminna/students
- Timestamp:
- 23 Nov 2012, 10:51:00 (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
r9699 r9714 171 171 self.assertEqual(error, u'Previous session payment not yet implemented.') 172 172 173 self.app['configuration']['2004'].clearance_fee = 20000.0 173 174 error, payment = utils.setPaymentDetails('clearance',self.student) 174 175 self.assertEqual(payment.p_level, 100) -
main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py
r9575 r9714 114 114 except (AttributeError, TypeError): 115 115 return _('Study course data are incomplete.'), None 116 if student.faccode in ['EET','ICT'] or student.depcode in ['ARC']:117 amount = 25000.0118 else:119 amount = 20000.0116 amount = academic_session.clearance_fee 117 if amount and (student.faccode in [ 118 'EET','ICT'] or student.depcode in ['ARC']): 119 amount += 5000.0 120 120 elif category == 'hostel_maintenance': 121 121 current_session = student['studycourse'].current_session
Note: See TracChangeset for help on using the changeset viewer.