Ignore:
Timestamp:
10 Nov 2013, 07:35:27 (11 years ago)
Author:
Henrik Bettermann
Message:

Adjust setPaymentDetails.

File:
1 edited

Legend:

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

    r10708 r10735  
    233233        elif category == 'carryover3':
    234234            amount = 8000.0
     235
     236        else:
     237            fee_name = category + '_fee'
     238            amount = getattr(academic_session, fee_name, 0.0)
    235239        if amount in (0.0, None):
    236240            return _(u'Amount could not be determined.'), None
Note: See TracChangeset for help on using the changeset viewer.