Ignore:
Timestamp:
15 Feb 2010, 12:16:06 (15 years ago)
Author:
Henrik Bettermann
Message:

implement hardcoded late registratiion fee for returning students

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

Legend:

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

    r4861 r5021  
    1313"""
    1414
     15late_registration_fee = 10000
    1516
    1617d = {}
     
    2930            d['all'] = 72700   
    3031        elif brain.lga == 'foreigner':
    31             d['all'] = 131500 #+ 5000
     32            d['all'] = 131500 #+ late_registration_fee
    3233        else:
    33             d['all'] = 41500 #+ 5000
     34            d['all'] = 41500 #+ late_registration_fee
    3435    # returning
    3536    elif brain.review_state == 'returning':
    3637        if brain.mode == 'jm_ft':
    37             d['all'] = 32500
     38            d['all'] = 32500 + late_registration_fee
    3839        elif brain.lga == 'foreigner':
    39             d['all'] = 109500
     40            d['all'] = 109500 + late_registration_fee
    4041        else:
    41             d['all'] = 19500 #+ 5000
     42            d['all'] = 19500 + late_registration_fee
    4243    else:
    4344        d['all'] = 0
  • WAeUP_SRP/trunk/skins/waeup_futminna/payments_view.pt

    r4861 r5021  
    7474                   />
    7575            <br /><br />
    76             <font tal:condition="python:False" color='red'>Surcharge for Late Registration of non-remedial students is 5000 Naira. </font>
     76            <font tal:condition="python:True" color='red'>Surcharge for Late Registration of returning students is 10000 Naira. </font>
    7777          </form> 
    7878          <form tal:condition="python: info.get('payment_method') == 'sc_payment'"
Note: See TracChangeset for help on using the changeset viewer.