Ignore:
Timestamp:
24 Feb 2017, 09:35:46 (8 years ago)
Author:
Henrik Bettermann
Message:

Configure nce_we_pt clearance fee.

Location:
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/interfaces.py

    r14456 r14589  
    4343    clearance_fee_2 = schema.Float(
    4444        title = _(u'Acceptance Fee Degree'),
     45        default = 0.0,
     46        required = False,
     47        )
     48
     49    clearance_fee_3 = schema.Float(
     50        title = _(u'Acceptance Fee NCE Weekend'),
    4551        default = 0.0,
    4652        required = False,
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/utils.py

    r14455 r14589  
    106106            except (AttributeError, TypeError):
    107107                return _('Study course data are incomplete.'), None
    108             if student.current_mode == 'ug_ft':
     108            if student.current_mode == 'nce_we_pt':
     109                amount = academic_session.clearance_fee_3
     110            elif student.current_mode == 'ug_ft':
    109111                amount = academic_session.clearance_fee_2
    110112            else:
Note: See TracChangeset for help on using the changeset viewer.