Changeset 16474


Ignore:
Timestamp:
23 Apr 2021, 07:22:53 (4 years ago)
Author:
Henrik Bettermann
Message:

Change school fees.

Location:
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/tests/test_browser.py

    r16417 r16474  
    106106        self.assertEqual(self.student.current_session, 2005)
    107107        # 79700 / 2 + 250
    108         self.assertEqual(self.student['payments'].values()[2].amount_auth, 40100.0)
    109         self.assertEqual(self.student['payments'].values()[3].amount_auth, 40100.0)
     108        self.assertEqual(self.student['payments'].values()[2].amount_auth, 37600.0)
     109        self.assertEqual(self.student['payments'].values()[3].amount_auth, 37600.0)
    110110        # The last two payments belong to the same session and level.
    111111        self.assertEqual(self.student['payments'].values()[2].p_session, 2005)
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/tests/test_export.py

    r15747 r16474  
    104104        self.assertMatches(
    105105            'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_current,'
    106             'p_id,p_item,p_level,p_session,p_state,payment_date,provider_amt,'
     106            'p_id,p_item,p_level,p_option,p_session,p_state,payment_date,provider_amt,'
    107107            'r_amount_approved,r_card_num,r_code,r_company,r_desc,'
    108108            'r_pay_reference,thirdparty_amt,student_id,state,'
    109109            'current_session\r\n'
    110110            '666,12.12,%s-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,'
    111             '100,%s,paid,%s-04-01 14:12:01#,,12.12,'
     111            '100,,%s,paid,%s-04-01 14:12:01#,,12.12,'
    112112            '789,r-code,interswatch,,,,A111111,created,2012\r\n'
    113113            % (curr_year-6, curr_year-6, curr_year-6), result
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/utils.py

    r16417 r16474  
    4343FEES_VALUES = (
    4444     ( # 100      110      200      210      300      310      400      410     500  999
    45        (43200.0, 43200.0, 46200.0, 46200.0, 40200.0, 40200.0, 0.0, 0.0, 0.0, 0.0), # nce_ft
     45       (43200.0, 43200.0, 43200.0, 43200.0, 37200.0, 37200.0, 0.0, 0.0, 0.0, 0.0), # nce_ft
    4646       (55200.0, 55200.0, 49200.0, 49200.0, 53200.0, 53200.0, 49200.0, 49200.0, 0.0, 0.0), # nce_pt
    47        (75700.0, 75700.0, 69700.0, 69700.0, 73700.0, 73700.0, 67700.0, 67700.0, 0.0, 0.0), # ug_ft
     47       (75700.0, 75700.0, 64700.0, 64700.0, 68700.0, 68700.0, 62700.0, 62700.0, 0.0, 0.0), # ug_ft
    4848       (33200.0, 33200.0, 28000.0, 28000.0, 32000.0, 32000.0, 28000.0, 28000.0, 0.0, 0.0), # nce_we_pt
    4949     ), # local
    5050     ( #
    51        (55800.0, 55800.0, 58700.0, 58700.0, 52700.0, 52700.0, 0.0, 0.0, 0.0, 0.0), # nce_ft
     51       (55800.0, 55800.0, 55700.0, 55700.0, 49700.0, 49700.0, 0.0, 0.0, 0.0, 0.0), # nce_ft
    5252       (55200.0, 55200.0, 49200.0, 49200.0, 53200.0, 53200.0, 49200.0, 49200.0, 0.0, 0.0), # nce_pt
    53        (85700.0, 85700.0, 79700.0, 79700.0, 83700.0, 83700.0, 77700.0, 77700.0, 0.0, 0.0), # ug_ft
     53       (85700.0, 85700.0, 74700.0, 74700.0, 78700.0, 78700.0, 72700.0, 72700.0, 0.0, 0.0), # ug_ft
    5454       (33200.0, 33200.0, 28000.0, 28000.0, 32000.0, 32000.0, 28000.0, 28000.0, 0.0, 0.0), # nce_we_pt
    5555     ), # non-local
Note: See TracChangeset for help on using the changeset viewer.