Ignore:
Timestamp:
2 Nov 2015, 05:54:08 (9 years ago)
Author:
Henrik Bettermann
Message:

Configure acceptance/clearance fee computation.

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

Legend:

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

    r13374 r13377  
    3030    """
    3131
     32
    3233    application_fee = schema.Float(
    3334        title = _(u'Application Fee'),
     
    4445    clearance_fee_fp = schema.Float(
    4546        title = _(u'FP Acceptance Fee'),
     47        default = 0.0,
     48        required = True,
     49        )
     50
     51    clearance_fee_pt = schema.Float(
     52        title = _(u'PT Acceptance Fee'),
     53        default = 0.0,
     54        required = True,
     55        )
     56
     57    clearance_fee_med = schema.Float(
     58        title = _(u'Medical Acceptance Fee'),
    4659        default = 0.0,
    4760        required = True,
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r13374 r13377  
    136136            if student.faccode == 'FP':
    137137                amount = academic_session.clearance_fee_fp
     138            elif student.current_mode.endswith('_pt'):
     139                amount = academic_session.clearance_fee_pt
     140            elif student.faccode in ('FBM', 'FCS'):
     141                amount = academic_session.clearance_fee_med
    138142            else:
    139143                amount = academic_session.clearance_fee
Note: See TracChangeset for help on using the changeset viewer.