Ignore:
Timestamp:
22 Jan 2018, 11:57:06 (7 years ago)
Author:
Henrik Bettermann
Message:

Change all fees according to ticket comments 8 AND 4 and only according to comment 9.

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  
    105105        self.assertEqual(self.student.current_session, 2005)
    106106        # 63100 / 2 + 250
    107         self.assertEqual(self.student['payments'].values()[2].amount_auth, 31800.0)
    108         self.assertEqual(self.student['payments'].values()[3].amount_auth, 31800.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)
    109109        # The last two payments belong to the same session and level.
    110110        self.assertEqual(self.student['payments'].values()[2].p_session, 2005)
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/utils.py

    r14924 r14941  
    4343FEES_VALUES = (
    4444      ( # 100      110      200      210      300      310      400      410     500  999
    45         (42000.0, 42000.0, 20600.0, 20600.0, 18100.0, 18100.0,     0.0,    0.0, 0.0, 0.0), # nce_ft
    46         (55200.0, 55200.0, 42200.0, 42200.0, 44700.0, 44700.0, 42200.0, 42200.0, 0.0, 0.0), # nce_pt
    47         (69200.0, 69200.0, 63100.0, 63100.0, 63100.0, 63100.0, 62100.0, 62100.0, 0.0, 0.0), # ug_ft
     45        (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
    4848        (33200.0, 33200.0, 20000.0, 20000.0, 20000.0, 20000.0, 20000.0, 20000.0, 0.0, 0.0), # nce_we_pt
    4949      ), # local
    5050      ( #
    51         (54600.0, 54600.0, 22600.0, 22600.0, 20100.0, 20100.0,     0.0,    0.0, 0.0, 0.0), # nce_ft
    52         (55200.0, 55200.0, 42200.0, 42200.0, 44700.0, 44700.0, 42200.0, 42200.0, 0.0, 0.0), # nce_pt
    53         (79200.0, 79200.0, 63100.0, 63100.0, 63100.0, 63100.0, 62100.0, 62100.0, 0.0, 0.0), # ug_ft
     51        (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
    5454        (33200.0, 33200.0, 20000.0, 20000.0, 20000.0, 20000.0, 20000.0, 20000.0, 0.0, 0.0), # nce_we_pt
    5555      ), # non-local
Note: See TracChangeset for help on using the changeset viewer.