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

Customize setPaymentDetails.

Location:
main/kofacustom.dspg/trunk/src/kofacustom/dspg
Files:
2 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
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py

    r14859 r14861  
    5858        'carryover2': 'Two Carry-Overs',
    5959        'carryover3': 'Three Carry-Overs',
     60        'carryover4': 'Four Carry-Overs',
    6061        'bed_allocation': 'Bed Allocation',
    6162        'hostel_maintenance': 'Hostel Maintenance',
     
    103104        'carryover2': 'Two Carry-Overs',
    104105        'carryover3': 'Three Carry-Overs',
     106        'carryover4': 'Four Carry-Overs',
    105107        'hostel_maintenance': 'Hostel Maintenance',
    106108        'certificate': 'ND Certificate',
Note: See TracChangeset for help on using the changeset viewer.