Changeset 14941 for main/kofacustom.coewarri/trunk/src/kofacustom/coewarri
- Timestamp:
- 22 Jan 2018, 11:57:06 (7 years ago)
- Location:
- main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/tests/test_browser.py
r14719 r14941 105 105 self.assertEqual(self.student.current_session, 2005) 106 106 # 63100 / 2 + 250 107 self.assertEqual(self.student['payments'].values()[2].amount_auth, 3 1800.0)108 self.assertEqual(self.student['payments'].values()[3].amount_auth, 3 1800.0)107 self.assertEqual(self.student['payments'].values()[2].amount_auth, 37600.0) 108 self.assertEqual(self.student['payments'].values()[3].amount_auth, 37600.0) 109 109 # The last two payments belong to the same session and level. 110 110 self.assertEqual(self.student['payments'].values()[2].p_session, 2005) -
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/utils.py
r14924 r14941 43 43 FEES_VALUES = ( 44 44 ( # 100 110 200 210 300 310 400 410 500 999 45 (42 000.0, 42000.0, 20600.0, 20600.0, 18100.0, 18100.0, 0.0,0.0, 0.0, 0.0), # nce_ft46 (55200.0, 55200.0, 4 2200.0, 42200.0, 44700.0, 44700.0, 42200.0, 42200.0, 0.0, 0.0), # nce_pt47 (69200.0, 69200.0, 6 3100.0, 63100.0, 63100.0, 63100.0, 62100.0, 62100.0, 0.0, 0.0), # ug_ft45 (42200.0, 42200.0, 39700.0, 39700.0, 18300.0, 18300.0, 0.0, 0.0, 0.0, 0.0), # nce_ft 46 (55200.0, 55200.0, 49200.0, 49200.0, 44700.0, 44700.0, 42200.0, 42200.0, 0.0, 0.0), # nce_pt 47 (69200.0, 69200.0, 64700.0, 64700.0, 67100.0, 67100.0, 62100.0, 62100.0, 0.0, 0.0), # ug_ft 48 48 (33200.0, 33200.0, 20000.0, 20000.0, 20000.0, 20000.0, 20000.0, 20000.0, 0.0, 0.0), # nce_we_pt 49 49 ), # local 50 50 ( # 51 (54 600.0, 54600.0, 22600.0, 22600.0, 20100.0, 20100.0, 0.0,0.0, 0.0, 0.0), # nce_ft52 (55200.0, 55200.0, 4 2200.0, 42200.0, 44700.0, 44700.0, 42200.0, 42200.0, 0.0, 0.0), # nce_pt53 (79200.0, 79200.0, 63100.0, 63100.0, 63100.0, 63100.0, 62100.0, 62100.0, 0.0, 0.0), # ug_ft51 (54800.0, 54800.0, 52300.0, 52300.0, 20300.0, 20300.0, 0.0, 0.0, 0.0, 0.0), # nce_ft 52 (55200.0, 55200.0, 49200.0, 49200.0, 44700.0, 44700.0, 42200.0, 42200.0, 0.0, 0.0), # nce_pt 53 (79200.0, 79200.0, 74700.0, 74700.0, 67100.0, 67100.0, 62100.0, 62100.0, 0.0, 0.0), # ug_ft 54 54 (33200.0, 33200.0, 20000.0, 20000.0, 20000.0, 20000.0, 20000.0, 20000.0, 0.0, 0.0), # nce_we_pt 55 55 ), # non-local
Note: See TracChangeset for help on using the changeset viewer.