Ignore:
Timestamp:
6 Oct 2017, 08:09:47 (7 years ago)
Author:
Henrik Bettermann
Message:

Customize setPaymentDetails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py

    r14860 r14861  
    128128        elif category == 'late_registration':
    129129            amount = academic_session.late_registration_fee
     130        elif category == 'carryover1':
     131            amount = 10000.0
     132        elif category == 'carryover2':
     133            amount = 10000.0
     134        elif category == 'carryover3':
     135            amount = 10000.0
     136        elif category == 'carryover4':
     137            amount = 13000.0
     138        else:
     139            fee_name = category + '_fee'
     140            amount = getattr(academic_session, fee_name, 0.0)
    130141        if amount in (0.0, None):
    131142            return _('Amount could not be determined.'), None
Note: See TracChangeset for help on using the changeset viewer.