Changeset 14222 for main/waeup.kwarapoly/trunk/src
- Timestamp:
- 24 Oct 2016, 04:06:20 (8 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/tests/test_browser.py
r14218 r14222 235 235 self.assertEqual(payment.p_level, 100) 236 236 self.assertEqual(payment.p_session, 2004) 237 self.assertEqual(payment.amount_auth, 7 7500.0)237 self.assertEqual(payment.amount_auth, 75500.0) 238 238 self.assertEqual(payment.p_item, u'CERT1') 239 239 self.assertEqual(error, None) … … 248 248 self.assertEqual(payment.p_level, 200) 249 249 self.assertEqual(payment.p_session, 2005) 250 self.assertEqual(payment.amount_auth, 50500.0)250 self.assertEqual(payment.amount_auth, 48500.0) 251 251 self.assertEqual(payment.p_item, u'CERT1') 252 252 self.assertEqual(error, None) … … 254 254 configuration.penalty_ug = 5000.0 255 255 error, payment = utils.setPaymentDetails('schoolfee',self.student) 256 self.assertEqual(payment.amount_auth, 5 5500.0)256 self.assertEqual(payment.amount_auth, 53500.0) 257 257 self.assertEqual(error, None) 258 258 -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py
r14218 r14222 56 56 ( 57 57 ( # 10 100 110 200 210 300 400 410 500 510 600 999 58 (34500.0, 55500.0, 4 6500.0, 42500.0, 46500.0, 0.0, 63000.0, 48500.0, 46000.0, 48500.0, 0.0, 48750.0), # science58 (34500.0, 55500.0, 44500.0, 42500.0, 44500.0, 0.0, 62000.0, 46500.0, 44000.0, 46500.0, 0.0, 48750.0), # science 59 59 (34500.0, 52500.0, 41500.0, 39500.0, 41500.0, 0.0, 59000.0, 43500.0, 41000.0, 43500.0, 0.0, 47200.0) # arts 60 60 ), # local 61 61 ( # 10 100 110 200 210 300 400 410 500 510 600 999 62 (49600.0, 7 7500.0, 57500.0, 50500.0, 57500.0, 0.0, 81000.0, 61500.0, 53000.0, 61500.0, 0.0, 63180.0), # science62 (49600.0, 75500.0, 55500.0, 48500.0, 55500.0, 0.0, 79000.0, 59500.0, 51000.0, 59500.0, 0.0, 63180.0), # science 63 63 (49600.0, 72500.0, 52500.0, 45500.0, 52500.0, 0.0, 76000.0, 56500.0, 48000.0, 56500.0, 0.0, 61680.0) # arts 64 64 ), # non-local … … 66 66 ( 67 67 ( # 10 100 110 200 210 300 400 410 500 510 600 999 68 (0.0, 5 8000.0, 46500.0, 46000.0, 46500.0, 46000.0, 58500.0, 48500.0, 47000.0, 48500.0, 47000.0, 0.0), # science68 (0.0, 56000.0, 44500.0, 44000.0, 44500.0, 44000.0, 56500.0, 46500.0, 45000.0, 46500.0, 45000.0, 0.0), # science 69 69 (0.0, 53000.0, 41500.0, 41000.0, 41500.0, 41000.0, 53500.0, 43500.0, 42000.0, 43500.0, 42000.0, 0.0) # arts 70 70 ), # local 71 71 ( # 10 100 110 200 210 300 400 410 500 510 600 999 72 (0.0, 7 5000.0, 57500.0, 52000.0, 57500.0, 52000.0, 80000.0, 61500.0, 62000.0, 61500.0, 62000.0, 0.0), # science72 (0.0, 73000.0, 55500.0, 50000.0, 55500.0, 50000.0, 78000.0, 59500.0, 60000.0, 58500.0, 60000.0, 0.0), # science 73 73 (0.0, 70000.0, 52500.0, 47000.0, 52500.0, 47000.0, 75000.0, 56500.0, 57000.0, 56500.0, 57000.0, 0.0) # arts 74 74 ), # non-local -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/utils/utils.py
r14218 r14222 60 60 61 61 PAYMENT_CATEGORIES = { 62 'clearance': 'Acceptance', 62 63 'schoolfee': 'School Fee', 63 64 'carryover1': 'One Carry-Over', 64 65 'carryover2': 'Two Carry-Overs', 65 66 'carryover3': 'Three Carry-Overs', 66 'clearance': 'Acceptance',67 67 'bed_allocation': 'Bed Allocation', 68 68 'hostel_maintenance': 'Hostel Maintenance', … … 105 105 106 106 SELECTABLE_PAYMENT_CATEGORIES = { 107 'clearance': 'Acceptance', 107 108 'schoolfee': 'School Fee', 108 109 'carryover1': 'One Carry-Over',
Note: See TracChangeset for help on using the changeset viewer.