Changeset 14717


Ignore:
Timestamp:
12 Jul 2017, 10:04:35 (7 years ago)
Author:
Henrik Bettermann
Message:

Configure DP 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

    r14358 r14717  
    100100        )
    101101
     102    penalty_dp = schema.Float(
     103        title = _(u'DP Penalty Fee'),
     104        default = 0.0,
     105        required = False,
     106        )
     107
    102108    admchecking_fee = schema.Float(
    103109        title = _(u'Admission Checking Fee'),
  • main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py

    r14688 r14717  
    367367        elif category == 'schoolfee' and student.current_mode == ('ug_sw'):
    368368            amount += academic_session.penalty_sw
     369        elif category == 'schoolfee' and student.current_mode in (
     370            'dp_ft', 'dp_pt'):
     371            amount += academic_session.penalty_dp
    369372        if category.startswith('tempmaint'):
    370373            p_item = getUtility(IKofaUtils).PAYMENT_CATEGORIES[category]
Note: See TracChangeset for help on using the changeset viewer.