Ignore:
Timestamp:
29 Mar 2017, 20:51:06 (8 years ago)
Author:
Henrik Bettermann
Message:

"dp_ft" Diploma Full Time should be included in the payment of restitution fee.

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

Legend:

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

    r14623 r14660  
    139139        restitution_paid = True
    140140        if self.student.entry_session < 2016 \
    141             and self.student.current_mode == 'ug_ft':
     141            and self.student.current_mode in ('ug_ft', 'dp_ft'):
    142142            restitution_paid = False
    143143            for ticket in self.student['payments'].values():
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r14615 r14660  
    250250            amount = academic_session.booking_fee
    251251        elif category == 'restitution':
    252             if student.entry_session == 2016 \
    253                 and student.current_session == 2016 \
    254                 or student.current_mode != 'ug_ft':
     252            if student.entry_session >= 2016 \
     253                or student.current_mode not in ('ug_ft', 'dp_ft'):
    255254                return _(u'Restitution fee payment not required.'), None
    256255            amount = academic_session.restitution_fee
Note: See TracChangeset for help on using the changeset viewer.