Ignore:
Timestamp:
8 Feb 2017, 08:18:26 (8 years ago)
Author:
Henrik Bettermann
Message:

Add clearance_fee_ijmbe.

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

Legend:

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

    r14375 r14518  
    4242        )
    4343
     44    clearance_fee_ijmbe = schema.Float(
     45        title = _(u'IJMBE Acceptance Fee'),
     46        default = 0.0,
     47        required = True,
     48        )
     49
    4450    clearance_fee_pg = schema.Float(
    4551        title = _(u'FT PG Acceptance Fee'),
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r14506 r14518  
    263263                and category != 'clearance_incl':
    264264                    return _("Additional fees must be included."), None
    265             if student.faccode == 'FP':  # includes IJMBE
     265            if student.current_mode == 'ijmbe':
     266                amount = academic_session.clearance_fee_ijmbe
     267            elif student.faccode == 'FP':
    266268                amount = academic_session.clearance_fee_fp
    267269            elif student.current_mode.endswith('_pt'):
Note: See TracChangeset for help on using the changeset viewer.