Changeset 13998


Ignore:
Timestamp:
28 Jun 2016, 20:33:48 (8 years ago)
Author:
Henrik Bettermann
Message:

Add sw late payment penalty fee.

Location:
main/waeup.uniben/trunk/src/waeup/uniben
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/interfaces.py

    r13887 r13998  
    9494        )
    9595
     96    penalty_sw = schema.Float(
     97        title = _(u'SW Penalty Fee'),
     98        default = 0.0,
     99        required = False,
     100        )
     101
    96102    admchecking_fee = schema.Float(
    97103        title = _(u'Admission Checking Fee'),
  • main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py

    r13869 r13998  
    338338        elif category == 'schoolfee' and student.current_mode == ('ug_pt'):
    339339            amount += academic_session.penalty_ug_pt
     340        elif category == 'schoolfee' and student.current_mode == ('ug_sw'):
     341            amount += academic_session.penalty_sw
    340342        if category.startswith('tempmaint'):
    341343            p_item = getUtility(IKofaUtils).PAYMENT_CATEGORIES[category]
Note: See TracChangeset for help on using the changeset viewer.