Ignore:
Timestamp:
23 Oct 2011, 19:41:47 (13 years ago)
Author:
Henrik Bettermann
Message:

Add clearance payment category.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/utils.py

    r6920 r6929  
    3838    if category == 'schoolfee':
    3939        amount = academic_session.fee_1
    40         surcharge_1 = academic_session.fee_2
     40        surcharge_1 = academic_session.surcharge_1
     41        surcharge_2 = academic_session.surcharge_2
     42        surcharge_3 = academic_session.surcharge_3
    4143        p_item = student['studycourse'].certificate.code
     44    elif category == 'clearance':
     45        p_item = student['studycourse'].certificate.code
     46        amount = academic_session.fee_2
    4247    return (amount, p_item, p_session,
    4348        surcharge_1, surcharge_2, surcharge_3, error)
Note: See TracChangeset for help on using the changeset viewer.