Changeset 8505 for main/waeup.aaue/trunk/src/waeup/aaue/students
- Timestamp:
- 23 May 2012, 21:33:14 (12 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/interfaces.py
r8503 r8505 33 33 from waeup.aaue.interfaces import MessageFactory as _ 34 34 from waeup.aaue.payments.interfaces import ICustomOnlinePayment 35 from waeup.aaue.utils.lgas import LGAS36 35 37 36 -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r8474 r8505 316 316 self.app['configuration']['2004'].booking_fee = 150.0 317 317 self.app['configuration']['2004'].maint_fee = 180.0 318 self.app['configuration']['2004'].clearance_fee = 360.0 318 319 utils = getUtility(IStudentsUtils) 319 320 self.assertEqual(utils.getPaymentDetails('schoolfee',self.student), … … 322 323 ) 323 324 self.assertEqual(utils.getPaymentDetails('clearance',self.student), 324 {'p_level': 100, 'p_session': 2004, 'amount': 3 4250.0,325 {'p_level': 100, 'p_session': 2004, 'amount': 360.0, 325 326 'p_item': u'CERT1', 'error': u''} 326 327 ) -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r8499 r8505 81 81 details['amount'] = academic_session.maint_fee 82 82 elif category == 'clearance': 83 details['p_item'] = student['studycourse'].certificate.code 83 84 details['amount'] = academic_session.clearance_fee 84 85 elif category == 'schoolfee':
Note: See TracChangeset for help on using the changeset viewer.