Changeset 14266


Ignore:
Timestamp:
9 Nov 2016, 07:21:58 (8 years ago)
Author:
Henrik Bettermann
Message:

GST and ENT course registration fees only in 2016.

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

    r14259 r14266  
    183183
    184184    def _coursePaymentsMade(self, course):
     185        if self.level_session < 2016:
     186            return True
    185187        if not course.code[:3] in ('GST', 'ENT'):
    186188            return True
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py

    r14259 r14266  
    833833    def test_student_GST_registration(self):
    834834        configuration_1 = createObject('waeup.SessionConfiguration')
    835         configuration_1.academic_session = 2015
     835        configuration_1.academic_session = 2016
    836836        configuration_1.gst_registration_1_fee = 3333.0
    837837        configuration_1.gst_text_book_1_fee = 4444.0
     
    847847            'CERT1'].addCertCourse(course, level=100)
    848848        IWorkflowState(self.student).setState('school fee paid')
    849         self.student['studycourse'].entry_session = 2015
    850         self.student['studycourse'].current_session = 2015
     849        self.student['studycourse'].entry_session = 2016
     850        self.student['studycourse'].current_session = 2016
    851851        self.course.semester = 2
    852852        self.browser.open(self.login_path)
Note: See TracChangeset for help on using the changeset viewer.