Ignore:
Timestamp:
31 Oct 2014, 06:45:52 (10 years ago)
Author:
Henrik Bettermann
Message:

Third semester fee applies to nce_sw and not nce_ft.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py

    r11919 r11920  
    133133        self.assertMatches('...could not be determined...',
    134134                           self.browser.contents)
    135         self.certificate.study_mode = 'nce_ft'
     135        self.certificate.study_mode = 'nce_sw'
    136136        self.browser.open(self.payments_path + '/addop')
    137137        self.browser.getControl(name="form.p_category").value = ['third_semester']
     
    284284        self.assertEqual(error, None)
    285285
     286        self.certificate.study_mode = 'nce_sw'
    286287        error, payment = utils.setPaymentDetails('third_semester',self.student)
    287288        self.assertEqual(payment.p_level, 100)
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py

    r11919 r11920  
    147147            except (AttributeError, TypeError):
    148148                return _('Study course data are incomplete.'), None
    149         elif category == 'third_semester' and student.current_mode == 'nce_ft':
     149        elif category == 'third_semester' and student.current_mode == 'nce_sw':
    150150            if student.depcode in ARTS:
    151151                amount = 5835
Note: See TracChangeset for help on using the changeset viewer.