Changeset 8768


Ignore:
Timestamp:
20 Jun 2012, 13:17:52 (13 years ago)
Author:
Henrik Bettermann
Message:

Add 3000 Nairas in final year for gown.

Location:
WAeUP_SRP/trunk/skins/waeup_uniben
Files:
2 edited

Legend:

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

    r8297 r8768  
    3838else:
    3939    return None
    40    
     40
    4141d['next_session_id'] = next_info['next_session_id']
     42d['next_level_id'] = next_info['next_level_id']
    4243                                                   
    4344return d
  • WAeUP_SRP/trunk/skins/waeup_uniben/pay_interswitch.py

    r8679 r8768  
    6868    amount_int = int(amount)
    6969    amount_int += 5000
     70    amount = info['amount'] = '%d' % (amount_int)
     71
     72final_year = False
     73if fee_dict['next_level_id'] == getattr(student_record, 'end_level', None) and not student_record.mode.startswith('pg'):
     74    final_year = True
     75if final_year:
     76    amount_int = int(amount)
     77    amount_int += 3000
    7078    amount = info['amount'] = '%d' % (amount_int)
    7179
Note: See TracChangeset for help on using the changeset viewer.