Ignore:
Timestamp:
29 Mar 2017, 17:49:00 (7 years ago)
Author:
Henrik Bettermann
Message:

ug_ft with entry mode de_ft at level 200 should pay the same as 100 level students.

File:
1 edited

Legend:

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

    r14641 r14659  
    9191                              'is not available.'), None
    9292            if p_level in PAYMENT_LEVELS:
    93                 amount = SCHOOL_FEES.get_fee(
    94                     (
    95                      local_nonlocal(student),
    96                      student.current_mode,
    97                      p_level)
    98                     )
     93                if student.entry_mode == 'de_ft' and p_level == 200:
     94                    amount = SCHOOL_FEES.get_fee(
     95                        (
     96                         local_nonlocal(student),
     97                         student.current_mode,
     98                         100)
     99                        )
     100                else:
     101                    amount = SCHOOL_FEES.get_fee(
     102                        (
     103                         local_nonlocal(student),
     104                         student.current_mode,
     105                         p_level)
     106                        )
    99107            if amount and category in ('schoolfee_1', 'schoolfee_2'):
    100108                amount /= 2
Note: See TracChangeset for help on using the changeset viewer.