Changeset 6486 for WAeUP_SRP/trunk


Ignore:
Timestamp:
29 Jun 2011, 13:37:11 (13 years ago)
Author:
Henrik Bettermann
Message:

The MPA elif statements must come first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_aaua/getSchoolFee.py

    r6485 r6486  
    9090        elif brain.review_state in i2_states and str(brain.level) in ('700',) and instalment == '2':
    9191            d['all'] = 80000           
     92        # 700 level returning students MPA
     93        elif brain.review_state == 'returning' and instalment == '1' and brain.course in MPA:
     94            d['all'] = 80000
     95        elif brain.review_state in i2_states and instalment == '2' and brain.course in MPA:
     96            d['all'] = 75000
    9297        # 700 level returning students non-MPA     
    9398        elif brain.review_state == 'returning' and instalment == '1':
     
    95100        elif brain.review_state in i2_states and instalment == '2':
    96101            d['all'] = 75000
    97         # 700 level returning students MPA
    98         elif brain.review_state == 'returning' and instalment == '1' and brain.course in MPA:
    99             d['all'] = 80000
    100         elif brain.review_state in i2_states and instalment == '2' and brain.course in MPA:
    101             d['all'] = 75000
    102        
    103102
    104103next_info = context.getNextInfo(brain)
Note: See TracChangeset for help on using the changeset viewer.